// Lean compiler output
// Module: Lake.CLI.Translate.Toml
// Imports: public import Lake.Toml.Encode public import Lake.Config.Package meta import Lake.Config.LeanLibConfig meta import Lake.Config.LeanExeConfig meta import Lake.Config.InputFileConfig meta import Lake.Config.PackageConfig
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21;
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__9;
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__5;
lean_object* l_Lake_LeanExeConfig_extraDepTargets___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5;
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45;
lean_object* l_Lake_PackageConfig_srcDir___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_enableArtifactCache_x3f___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToTomlBuildType;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31;
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(lean_object*);
extern lean_object* l_Lake_InputDirConfig_instConfigInfo;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
lean_object* l_Lake_PackageConfig_lintDriver___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_allowImportAll___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11;
lean_object* l_EStateM_instMonad___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lake_LeanLibConfig_instConfigInfo;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3;
extern lean_object* l_Lake_InputFile_keyword;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115;
lean_object* l_Lake_PackageConfig_lintDriverArgs___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0;
lean_object* l_Lake_LeanExeConfig_toLeanConfig___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26;
static lean_object* l_Lake_Toml_encodeLeanOptions___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29;
lean_object* l_EStateM_instMonad___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0;
lean_object* l_System_FilePath_normalize(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0(lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_keywords___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3;
uint8_t l_Array_isEmpty___redArg(lean_object*);
lean_object* l_Lake_PackageConfig_licenseFiles___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13;
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7;
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
LEAN_EXPORT lean_object* l_Lake_Dependency_toToml(lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_toLeanConfig___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0;
LEAN_EXPORT lean_object* l_Lake_instToTomlBackend;
lean_object* l_Lake_Toml_RBDict_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg___boxed(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4;
extern lean_object* l_Lake_LeanConfig_leanOptions___proj;
static lean_object* l_Lake_Dependency_toToml___closed__3;
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5;
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_encodeSingleton_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
LEAN_EXPORT lean_object* l_Lake_instToTomlLeanVer;
extern lean_object* l_Lake_LeanConfig_instConfigInfo;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__4;
static lean_object* l_Lake_Package_mkTomlConfig___closed__2;
extern lean_object* l_Lake_LeanLib_keyword;
lean_object* l_Lake_PackageConfig_extraDepTargets___proj(lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_leanLibDir___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__0;
uint8_t lean_usize_dec_eq(size_t, size_t);
extern lean_object* l_Lake_LeanExeConfig_instConfigInfo;
lean_object* l_Lake_PackageConfig_reservoir___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99;
extern lean_object* l_Lake_LeanConfig_dynlibs___proj;
LEAN_EXPORT lean_object* l_Lake_instToTomlBackend___lam__0___boxed(lean_object*);
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3;
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(size_t, size_t, lean_object*);
lean_object* l_Lake_InputFileConfig_text___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_StrPatDescr_toToml(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_InputFileConfig_path___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_instToTomlLeanOptionValue___closed__0;
lean_object* l_Lake_PackageConfig_buildArchive___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30;
lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9(size_t, size_t, lean_object*);
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5;
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20;
LEAN_EXPORT lean_object* l_Lake_instSmartInsertBackend___lam__0(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0___redArg(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToTomlBuildType___lam__0(uint8_t);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49;
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptions___boxed(lean_object*);
lean_object* l_EStateM_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3(size_t, size_t, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71;
LEAN_EXPORT lean_object* l_Lake_instToTomlGlob;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
extern lean_object* l_Lake_LeanConfig_weakLeancArgs___proj;
lean_object* l_Lake_Toml_RBDict_empty(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90;
uint8_t lean_string_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_object* l_Lake_LeanLibConfig_defaultFacets___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41;
lean_object* l_Lake_Toml_encodeArray_x3f___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptionValue(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64;
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15;
lean_object* l_Array_mkArray0(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg(lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instMonad___redArg(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__2;
lean_object* l_Lake_InputDirConfig_path___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5;
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75;
LEAN_EXPORT lean_object* l_Lake_instToTomlDependency;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
lean_object* l_Nat_reprFast(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43;
lean_object* l_Lake_LeanLibConfig_libName___proj(lean_object*);
static lean_object* l_Lake_StrPatDescr_toToml___closed__1;
LEAN_EXPORT lean_object* l_Lake_instToTomlArrayLeanOption;
extern lean_object* l_Lake_InputFileConfig_instConfigInfo;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___redArg___boxed(lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lake_LeanConfig_buildType___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8;
static lean_object* l_Lake_Dependency_toToml___closed__7;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9;
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0___redArg(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7;
static lean_object* l_Lake_Dependency_toToml___closed__12;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___redArg(lean_object*);
extern lean_object* l_Lake_WorkspaceConfig_packagesDir___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1;
uint8_t l_Lake_instDecidableEqBuildType(uint8_t, uint8_t);
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPattern___redArg(lean_object*);
static lean_object* l_Lake_StrPatDescr_toToml___closed__2;
lean_object* l_Lake_PackageConfig_readmeFile___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_instToToml(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
static lean_object* l_Lake_StrPatDescr_toToml___closed__3;
lean_object* l_Lake_PackageConfig_binDir___proj(lean_object*, lean_object*);
lean_object* l_Lean_instQuoteNameMkStr1___private__1(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml___lam__0(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_StdVer_toString(lean_object*);
extern lean_object* l_Lean_Macro_instMonadRefMacroM;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45;
lean_object* lean_nat_to_int(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
LEAN_EXPORT lean_object* l_Lake_PathPatDescr_toToml_x3f(lean_object*);
lean_object* l_Lake_PackageConfig_license___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0;
lean_object* l_Lean_Syntax_node6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48;
lean_object* l_Lean_Name_quickCmp___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43;
static lean_object* l_Lake_Package_mkTomlConfig___closed__4;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_EStateM_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29;
lean_object* l_Lake_PackageConfig_description___proj(lean_object*, lean_object*);
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__5;
lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39;
lean_object* l_Lake_PackageConfig_preferReleaseBuild___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10;
LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake;
lean_object* l_Lake_LeanExeConfig_root___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
lean_object* l_Lake_PackageConfig_moreGlobalServerArgs___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27;
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18;
lean_object* l_Lake_PartialBuildKey_toString(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__4;
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58;
lean_object* l_Lake_LeanLibConfig_precompileModules___proj(lean_object*);
lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_append(lean_object*, lean_object*);
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__0;
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0;
static lean_object* l_Lake_Dependency_toToml___closed__6;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey;
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_object* l_Lake_PackageConfig_restoreAllArtifacts___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_StrPatDescr_toToml___closed__0;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_LeanLibConfig_toLeanConfig___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml(lean_object*, lean_object*);
lean_object* l_Lake_Glob_toString(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lake_BuildKey_toString(lean_object*);
extern lean_object* l_Lake_LeanConfig_moreLinkObjs___proj;
lean_object* l_Lake_LeanExeConfig_srcDir___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16;
static lean_object* l_Lake_Dependency_toToml___closed__10;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8;
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPatternDescr(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_instToToml___lam__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToTomlLeanOptionValue;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6;
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_name_eq(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
extern lean_object* l_Lake_LeanConfig_moreLinkArgs___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65;
lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0;
lean_object* l_Lake_Name_eraseHead(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
static lean_object* l_Lake_Dependency_toToml___closed__2;
extern lean_object* l_Lake_LeanConfig_moreLeancArgs___proj;
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3;
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
extern lean_object* l_Lake_LeanConfig_moreLeanArgs___proj;
lean_object* l_Lake_PackageConfig_toWorkspaceConfig___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83;
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_instToToml___lam__0(lean_object*, lean_object*);
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__4;
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0(size_t, size_t, lean_object*);
lean_object* lean_mk_syntax_ident(lean_object*);
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
LEAN_EXPORT lean_object* l_Lake_instToTomlBackend___lam__0(uint8_t);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*);
uint8_t l_Lake_instDecidableEqGlob_decEq(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37;
extern lean_object* l_Lake_WorkspaceConfig_instConfigInfo;
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__3;
lean_object* l_String_toRawSubstring_x27(lean_object*);
lean_object* l_Lake_BuildType_toString(uint8_t);
LEAN_EXPORT lean_object* l_Lake_instToTomlArrayLeanOption___lam__0___boxed(lean_object*);
lean_object* l_EStateM_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4;
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__4;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62;
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0(lean_object*, lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__5;
extern lean_object* l_Lake_PackageConfig_instConfigInfo;
uint8_t l_Lake_instDecidableEqBackend(uint8_t, uint8_t);
LEAN_EXPORT lean_object* l_Lake_instToTomlDependency___lam__0(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_filterMapM___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lake_LeanLibConfig_libPrefixOnWindows___proj(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_encodeSingleton_x3f___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17;
static lean_object* l_Lake_PatternDescr_toToml_x3f___redArg___closed__0;
lean_object* l_EStateM_pure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptions(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4;
lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPattern(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0(lean_object*, size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToTomlGlob___lam__0(lean_object*);
static lean_object* l_Lake_Package_mkTomlConfig___closed__3;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_instToToml___lam__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113;
lean_object* l_Lake_LeanExeConfig_supportInterpreter___proj(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_instToToml(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_instToToml(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3;
static lean_object* l_Lake_Dependency_toToml___closed__11;
LEAN_EXPORT lean_object* l_Lake_instToTomlBuildType___lam__0___boxed(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1;
LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(lean_object*, uint8_t, lean_object*, lean_object*);
lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27;
static lean_object* l_Lake_Package_mkTomlConfig___closed__0;
static lean_object* l_Lake_Dependency_toToml___closed__14;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_LeanLibConfig_allowImportAll___proj(lean_object*);
lean_object* l_Lean_mkIdentFromRef___redArg(lean_object*, lean_object*, lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lake_Package_mkTomlConfig___closed__5;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_manifestFile___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey___lam__0(lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__8;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0(size_t, size_t, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10;
lean_object* l_Lake_PackageConfig_homepage___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_nativeLibDir___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9;
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_LeanExeConfig_exeName___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(size_t, size_t, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21;
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___redArg(lean_object*, lean_object*);
static lean_object* l_Lake_Package_mkTomlConfig___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0(lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_testDriverArgs___proj(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(size_t, size_t, lean_object*);
uint8_t l_Lake_instDecidableEqStdVer_decEq(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123;
extern lean_object* l_Lake_LeanConfig_backend___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*);
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__3;
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lake_mkRelPathString(lean_object*);
static lean_object* l_Lake_Dependency_toToml___closed__13;
LEAN_EXPORT lean_object* l_Lake_Package_mkTomlConfig(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_instToToml(lean_object*);
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39;
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__2;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lake_PackageConfig_precompileModules___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml;
LEAN_EXPORT lean_object* l_Lake_instToTomlLeanVer___lam__0(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instSmartInsertBackend___lam__0___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110;
static lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
lean_object* l_Lake_PackageConfig_libPrefixOnWindows___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24;
lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml___lam__0(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4;
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29;
lean_object* l_Lake_LeanLibConfig_roots___proj(lean_object*);
static lean_object* l_Lake_PathPatDescr_toToml_x3f___closed__1;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_EStateM_seqRight(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96;
lean_object* l_Lake_LeanExeConfig_needs___proj(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___boxed(lean_object*);
lean_object* l_Lake_LeanLibConfig_needs___proj(lean_object*);
size_t lean_usize_add(size_t, size_t);
lean_object* l_Lake_InputDirConfig_text___proj(lean_object*);
lean_object* l_Lake_Backend_toString(uint8_t);
LEAN_EXPORT lean_object* l_Lake_encodeFacets(lean_object*);
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPatternDescr___redArg(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0;
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lake_LeanConfig_moreServerOptions___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
lean_object* lean_array_uget(lean_object*, size_t);
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95;
size_t lean_array_size(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
extern lean_object* l_Lake_LeanConfig_plugins___proj;
lean_object* l_Lake_PackageConfig_irDir___proj(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml;
lean_object* l_Lake_PackageConfig_versionTags___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9;
lean_object* l_Lake_LeanLibConfig_extraDepTargets___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, size_t, size_t, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9;
lean_object* l_Lean_Name_mkStr1(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lake_PackageConfig_version___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
static lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13;
lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35;
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_instToToml___lam__0(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50;
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
LEAN_EXPORT lean_object* l_Lake_instToTomlArrayLeanOption___lam__0(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___boxed(lean_object*);
extern lean_object* l_Lake_LeanConfig_weakLinkArgs___proj;
lean_object* l_Lake_PackageConfig_testDriver___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12;
extern lean_object* l_Lake_InputDir_keyword;
lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38;
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
lean_object* l_Lake_InputDirConfig_filter___proj(lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField___redArg(lean_object*, lean_object*, lean_object*);
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40;
static lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22;
lean_object* l_Lake_PackageConfig_buildDir___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24;
extern lean_object* l_Lake_LeanExe_keyword;
extern lean_object* l_Lake_LeanConfig_weakLeanArgs___proj;
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4;
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
lean_object* l_Lake_PackageConfig_bootstrap___proj(lean_object*, lean_object*);
extern lean_object* l_Lake_LeanConfig_platformIndependent___proj;
static lean_object* l_Lake_Pattern_toToml_x3f___redArg___closed__6;
lean_object* l_Lake_LeanLibConfig_globs___proj(lean_object*);
LEAN_EXPORT lean_object* l_Lake_instSmartInsertBackend;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52;
uint8_t l_Array_contains___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8;
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(lean_object*);
lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT uint8_t l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0(lean_object*, lean_object*);
extern lean_object* l_Lake_LeanConfig_moreLinkLibs___proj;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey___lam__0(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32;
lean_object* l_Lake_LeanLibConfig_srcDir___proj(lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8;
lean_object* l_Lake_PackageConfig_releaseRepo___proj(lean_object*, lean_object*);
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7;
static lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = l_System_FilePath_normalize(x_1);
x_4 = l_System_FilePath_normalize(x_2);
x_5 = lean_string_dec_eq(x_3, x_4);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0(x_1, x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake___lam__0___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_inc_ref(x_4);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___redArg(lean_object* x_1) {
_start:
{
lean_inc_ref(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml(x_1, x_2, x_3, x_4);
lean_dec_ref(x_4);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldOfToToml___redArg(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = lean_apply_2(x_4, x_2, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_apply_2(x_2, x_1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_Toml_Table_insertField(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_6 = lean_ctor_get(x_1, 0);
lean_inc(x_6);
lean_dec_ref(x_1);
x_7 = lean_apply_1(x_6, x_4);
x_8 = lean_apply_3(x_2, x_3, x_7, x_5);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg___lam__0), 5, 3);
lean_closure_set(x_4, 0, x_3);
lean_closure_set(x_4, 1, x_2);
lean_closure_set(x_4, 2, x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfSmartInsertOfConfigField___redArg(x_3, x_4, x_5);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Name_quickCmp___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_1, 3);
lean_inc(x_8);
lean_dec_ref(x_1);
lean_inc(x_5);
x_9 = lean_apply_1(x_7, x_5);
x_10 = lean_apply_1(x_8, x_5);
lean_inc(x_9);
x_11 = lean_apply_2(x_2, x_9, x_10);
x_12 = lean_unbox(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_14 = lean_apply_1(x_3, x_9);
x_15 = l_Lake_Toml_RBDict_insert___redArg(x_13, x_4, x_14, x_6);
return x_15;
}
else
{
lean_dec(x_9);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_6;
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0), 6, 4);
lean_closure_set(x_5, 0, x_4);
lean_closure_set(x_5, 1, x_3);
lean_closure_set(x_5, 2, x_2);
lean_closure_set(x_5, 3, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg(x_2, x_4, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlLeanVer___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_StdVer_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
static lean_object* _init_l_Lake_instToTomlLeanVer() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlLeanVer___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlBuildType___lam__0(uint8_t x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_BuildType_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlBuildType___lam__0___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
x_3 = l_Lake_instToTomlBuildType___lam__0(x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_instToTomlBuildType() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlBuildType___lam__0___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlGlob___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_Glob_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
static lean_object* _init_l_Lake_instToTomlGlob() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlGlob___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlBackend___lam__0(uint8_t x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_Backend_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlBackend___lam__0___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
x_3 = l_Lake_instToTomlBackend___lam__0(x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_instToTomlBackend() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlBackend___lam__0___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_instSmartInsertBackend___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3) {
_start:
{
if (x_2 == 2)
{
lean_dec(x_1);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = l_Lake_Backend_toString(x_2);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_8 = l_Lake_Toml_RBDict_insert___redArg(x_7, x_1, x_6, x_3);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lake_instSmartInsertBackend___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = lean_unbox(x_2);
x_5 = l_Lake_instSmartInsertBackend___lam__0(x_1, x_4, x_3);
return x_5;
}
}
static lean_object* _init_l_Lake_instSmartInsertBackend() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instSmartInsertBackend___lam__0___boxed), 3, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptionValue(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
case 1:
{
uint8_t x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get_uint8(x_1, 0);
lean_dec_ref(x_1);
x_6 = lean_box(0);
x_7 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set_uint8(x_7, sizeof(void*)*1, x_5);
return x_7;
}
default: 
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_1, 0);
lean_inc(x_8);
lean_dec_ref(x_1);
x_9 = lean_box(0);
x_10 = lean_nat_to_int(x_8);
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
return x_11;
}
}
}
}
static lean_object* _init_l_Lake_instToTomlLeanOptionValue___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_Toml_encodeLeanOptionValue), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_instToTomlLeanOptionValue() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_instToTomlLeanOptionValue___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_2, x_3);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; 
x_6 = lean_array_uget(x_1, x_2);
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
x_8 = lean_ctor_get(x_6, 1);
lean_inc_ref(x_8);
lean_dec(x_6);
x_9 = l_Lake_Toml_encodeLeanOptionValue(x_8);
x_10 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_11 = l_Lake_Toml_RBDict_insert___redArg(x_10, x_7, x_9, x_4);
x_12 = 1;
x_13 = lean_usize_add(x_2, x_12);
x_2 = x_13;
x_4 = x_11;
goto _start;
}
else
{
return x_4;
}
}
}
static lean_object* _init_l_Lake_Toml_encodeLeanOptions___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_2 = l_Lake_Toml_RBDict_empty(lean_box(0), lean_box(0), x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptions(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_2;
}
else
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0(x_1, x_7, x_8, x_2);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeLeanOptions_spec__0(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeLeanOptions___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_Toml_encodeLeanOptions(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlArrayLeanOption___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = lean_box(0);
x_3 = l_Lake_Toml_encodeLeanOptions(x_1);
x_4 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlArrayLeanOption___lam__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_instToTomlArrayLeanOption___lam__0(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_instToTomlArrayLeanOption() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlArrayLeanOption___lam__0___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_encodeSingleton_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_apply_1(x_2, x_4);
if (lean_obj_tag(x_5) == 0)
{
lean_dec(x_3);
return x_5;
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_box(0);
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_10 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_11 = l_Lake_Toml_RBDict_insert___redArg(x_9, x_3, x_7, x_10);
x_12 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_12, 0, x_8);
lean_ctor_set(x_12, 1, x_11);
lean_ctor_set(x_5, 0, x_12);
return x_5;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_13 = lean_ctor_get(x_5, 0);
lean_inc(x_13);
lean_dec(x_5);
x_14 = lean_box(0);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_16 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_17 = l_Lake_Toml_RBDict_insert___redArg(x_15, x_3, x_13, x_16);
x_18 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_18, 0, x_14);
lean_ctor_set(x_18, 1, x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_encodeSingleton_x3f___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_apply_1(x_1, x_3);
if (lean_obj_tag(x_4) == 0)
{
lean_dec(x_2);
return x_4;
}
else
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_6 = lean_ctor_get(x_4, 0);
x_7 = lean_box(0);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_9 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_10 = l_Lake_Toml_RBDict_insert___redArg(x_8, x_2, x_6, x_9);
x_11 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_4, 0, x_11);
return x_4;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_12 = lean_ctor_get(x_4, 0);
lean_inc(x_12);
lean_dec(x_4);
x_13 = lean_box(0);
x_14 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_15 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_16 = l_Lake_Toml_RBDict_insert___redArg(x_14, x_2, x_12, x_15);
x_17 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_17, 0, x_13);
lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("preset", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Pattern_toToml_x3f___redArg___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("not", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("all", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("any", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
lean_inc_ref(x_1);
x_3 = lean_alloc_closure((void*)(l_Lake_Pattern_toToml_x3f), 4, 3);
lean_closure_set(x_3, 0, lean_box(0));
lean_closure_set(x_3, 1, lean_box(0));
lean_closure_set(x_3, 2, x_1);
switch (lean_obj_tag(x_2)) {
case 0:
{
lean_object* x_4; lean_object* x_5; 
lean_dec_ref(x_3);
x_4 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_4);
lean_dec_ref(x_2);
x_5 = l_Lake_Pattern_toToml_x3f___redArg(x_1, x_4);
if (lean_obj_tag(x_5) == 0)
{
return x_5;
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_9 = lean_box(0);
x_10 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_11 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_12 = l_Lake_Toml_RBDict_insert___redArg(x_10, x_8, x_7, x_11);
x_13 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_13, 0, x_9);
lean_ctor_set(x_13, 1, x_12);
lean_ctor_set(x_5, 0, x_13);
return x_5;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_14 = lean_ctor_get(x_5, 0);
lean_inc(x_14);
lean_dec(x_5);
x_15 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_16 = lean_box(0);
x_17 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_18 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_19 = l_Lake_Toml_RBDict_insert___redArg(x_17, x_15, x_14, x_18);
x_20 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_20, 0, x_16);
lean_ctor_set(x_20, 1, x_19);
x_21 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
}
}
case 1:
{
lean_object* x_22; lean_object* x_23; 
lean_dec_ref(x_1);
x_22 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_22);
lean_dec_ref(x_2);
x_23 = l_Lake_Toml_encodeArray_x3f___redArg(x_3, x_22);
if (lean_obj_tag(x_23) == 0)
{
lean_object* x_24; 
x_24 = lean_box(0);
return x_24;
}
else
{
uint8_t x_25; 
x_25 = !lean_is_exclusive(x_23);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_26 = lean_ctor_get(x_23, 0);
x_27 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_28 = lean_box(0);
x_29 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_29, 0, x_28);
lean_ctor_set(x_29, 1, x_26);
x_30 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_31 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_32 = l_Lake_Toml_RBDict_insert___redArg(x_30, x_27, x_29, x_31);
x_33 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_33, 0, x_28);
lean_ctor_set(x_33, 1, x_32);
lean_ctor_set(x_23, 0, x_33);
return x_23;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_34 = lean_ctor_get(x_23, 0);
lean_inc(x_34);
lean_dec(x_23);
x_35 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_36 = lean_box(0);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_34);
x_38 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_39 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_40 = l_Lake_Toml_RBDict_insert___redArg(x_38, x_35, x_37, x_39);
x_41 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_41, 0, x_36);
lean_ctor_set(x_41, 1, x_40);
x_42 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
}
case 2:
{
lean_object* x_43; lean_object* x_44; 
lean_dec_ref(x_1);
x_43 = lean_ctor_get(x_2, 0);
lean_inc_ref(x_43);
lean_dec_ref(x_2);
x_44 = l_Lake_Toml_encodeArray_x3f___redArg(x_3, x_43);
if (lean_obj_tag(x_44) == 0)
{
lean_object* x_45; 
x_45 = lean_box(0);
return x_45;
}
else
{
uint8_t x_46; 
x_46 = !lean_is_exclusive(x_44);
if (x_46 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_47 = lean_ctor_get(x_44, 0);
x_48 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_49 = lean_box(0);
x_50 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_47);
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_52 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_53 = l_Lake_Toml_RBDict_insert___redArg(x_51, x_48, x_50, x_52);
x_54 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_54, 0, x_49);
lean_ctor_set(x_54, 1, x_53);
lean_ctor_set(x_44, 0, x_54);
return x_44;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_55 = lean_ctor_get(x_44, 0);
lean_inc(x_55);
lean_dec(x_44);
x_56 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_57 = lean_box(0);
x_58 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_55);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_60 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_61 = l_Lake_Toml_RBDict_insert___redArg(x_59, x_56, x_58, x_60);
x_62 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_62, 0, x_57);
lean_ctor_set(x_62, 1, x_61);
x_63 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_63, 0, x_62);
return x_63;
}
}
}
default: 
{
lean_object* x_64; lean_object* x_65; 
lean_dec_ref(x_3);
x_64 = lean_ctor_get(x_2, 0);
lean_inc(x_64);
lean_dec_ref(x_2);
x_65 = lean_apply_1(x_1, x_64);
return x_65;
}
}
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("default", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("star", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("*", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lake_Pattern_toToml_x3f___redArg___closed__4;
x_2 = lean_box(0);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lake_Pattern_toToml_x3f___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Pattern_toToml_x3f___redArg___closed__5;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_ctor_get(x_2, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 2);
lean_inc(x_4);
lean_dec_ref(x_2);
switch (lean_obj_tag(x_3)) {
case 0:
{
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_16; 
lean_dec_ref(x_1);
x_16 = lean_box(0);
return x_16;
}
else
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_4, 0);
lean_inc(x_17);
lean_dec_ref(x_4);
x_18 = l_Lake_PatternDescr_toToml_x3f___redArg(x_1, x_17);
return x_18;
}
}
case 1:
{
lean_object* x_19; 
lean_dec(x_4);
lean_dec_ref(x_1);
x_19 = lean_ctor_get(x_3, 0);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_20 = lean_ctor_get(x_3, 1);
x_21 = l_Lake_Pattern_toToml_x3f___redArg___closed__2;
x_22 = lean_string_dec_eq(x_20, x_21);
if (x_22 == 0)
{
lean_object* x_23; uint8_t x_24; 
x_23 = l_Lake_Pattern_toToml_x3f___redArg___closed__3;
x_24 = lean_string_dec_eq(x_20, x_23);
if (x_24 == 0)
{
goto block_15;
}
else
{
lean_object* x_25; 
lean_dec_ref(x_3);
x_25 = l_Lake_Pattern_toToml_x3f___redArg___closed__6;
return x_25;
}
}
else
{
lean_object* x_26; 
lean_dec_ref(x_3);
x_26 = lean_box(0);
return x_26;
}
}
else
{
goto block_15;
}
}
default: 
{
lean_dec(x_4);
lean_dec_ref(x_1);
goto block_15;
}
}
block_15:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_5 = lean_box(0);
x_6 = l_Lake_Pattern_toToml_x3f___redArg___closed__1;
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_8 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_9 = 1;
x_10 = l_Lean_Name_toString(x_3, x_9);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_5);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lake_Toml_RBDict_insert___redArg(x_7, x_6, x_11, x_8);
x_13 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_13, 0, x_5);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_Pattern_toToml_x3f___redArg(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lake_PatternDescr_toToml_x3f___redArg(x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPattern(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Lake_Pattern_toToml_x3f), 4, 3);
lean_closure_set(x_4, 0, lean_box(0));
lean_closure_set(x_4, 1, lean_box(0));
lean_closure_set(x_4, 2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPattern___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lake_Pattern_toToml_x3f), 4, 3);
lean_closure_set(x_2, 0, lean_box(0));
lean_closure_set(x_2, 1, lean_box(0));
lean_closure_set(x_2, 2, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPatternDescr(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Lake_PatternDescr_toToml_x3f), 4, 3);
lean_closure_set(x_4, 0, lean_box(0));
lean_closure_set(x_4, 1, lean_box(0));
lean_closure_set(x_4, 2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lake_instToToml_x3fPatternDescr___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lake_PatternDescr_toToml_x3f), 4, 3);
lean_closure_set(x_2, 0, lean_box(0));
lean_closure_set(x_2, 1, lean_box(0));
lean_closure_set(x_2, 2, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_5);
x_10 = 1;
x_11 = lean_usize_add(x_2, x_10);
x_12 = lean_array_uset(x_7, x_2, x_9);
x_2 = x_11;
x_3 = x_12;
goto _start;
}
}
}
static lean_object* _init_l_Lake_StrPatDescr_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("startsWith", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lake_StrPatDescr_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_StrPatDescr_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_StrPatDescr_toToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("endsWith", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_StrPatDescr_toToml___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_StrPatDescr_toToml___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_StrPatDescr_toToml(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = lean_box(0);
x_4 = lean_array_size(x_2);
x_5 = 0;
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_4, x_5, x_2);
x_7 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_7, 0, x_3);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
case 1:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_8 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_8);
lean_dec_ref(x_1);
x_9 = lean_box(0);
x_10 = l_Lake_StrPatDescr_toToml___closed__1;
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_8);
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_13 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_14 = l_Lake_Toml_RBDict_insert___redArg(x_12, x_10, x_11, x_13);
x_15 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_15, 0, x_9);
lean_ctor_set(x_15, 1, x_14);
return x_15;
}
default: 
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_16 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_16);
lean_dec_ref(x_1);
x_17 = lean_box(0);
x_18 = l_Lake_StrPatDescr_toToml___closed__3;
x_19 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_19, 0, x_17);
lean_ctor_set(x_19, 1, x_16);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_21 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_22 = l_Lake_Toml_RBDict_insert___redArg(x_20, x_18, x_19, x_21);
x_23 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_23, 0, x_17);
lean_ctor_set(x_23, 1, x_22);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_4, x_5, x_3);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_StrPatDescr_toToml), 1, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0;
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_10; 
x_10 = lean_usize_dec_eq(x_2, x_3);
if (x_10 == 0)
{
if (lean_obj_tag(x_4) == 0)
{
x_5 = x_4;
goto block_9;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_4, 0);
lean_inc(x_11);
lean_dec_ref(x_4);
x_12 = lean_array_uget(x_1, x_2);
x_13 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_12);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; 
lean_dec(x_11);
x_14 = lean_box(0);
x_5 = x_14;
goto block_9;
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_13);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_13, 0);
x_17 = lean_array_push(x_11, x_16);
lean_ctor_set(x_13, 0, x_17);
x_5 = x_13;
goto block_9;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_ctor_get(x_13, 0);
lean_inc(x_18);
lean_dec(x_13);
x_19 = lean_array_push(x_11, x_18);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_19);
x_5 = x_20;
goto block_9;
}
}
}
}
else
{
return x_4;
}
block_9:
{
size_t x_6; size_t x_7; 
x_6 = 1;
x_7 = lean_usize_add(x_2, x_6);
x_2 = x_7;
x_4 = x_5;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1;
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_2, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_3;
}
else
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_3;
}
else
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_7, x_8, x_3);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0___redArg(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_2);
if (lean_obj_tag(x_3) == 0)
{
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_7 = lean_box(0);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_9 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_10 = l_Lake_Toml_RBDict_insert___redArg(x_8, x_6, x_5, x_9);
x_11 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_3, 0, x_11);
return x_3;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_3, 0);
lean_inc(x_12);
lean_dec(x_3);
x_13 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_14 = lean_box(0);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_16 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_17 = l_Lake_Toml_RBDict_insert___redArg(x_15, x_13, x_12, x_16);
x_18 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_18, 0, x_14);
lean_ctor_set(x_18, 1, x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
}
case 1:
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_20);
lean_dec_ref(x_1);
x_21 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(x_20);
lean_dec_ref(x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; 
x_22 = lean_box(0);
return x_22;
}
else
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_21);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_24 = lean_ctor_get(x_21, 0);
x_25 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_24);
x_28 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_29 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_30 = l_Lake_Toml_RBDict_insert___redArg(x_28, x_25, x_27, x_29);
x_31 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_31, 0, x_26);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_21, 0, x_31);
return x_21;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_32 = lean_ctor_get(x_21, 0);
lean_inc(x_32);
lean_dec(x_21);
x_33 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_32);
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_37 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_38 = l_Lake_Toml_RBDict_insert___redArg(x_36, x_33, x_35, x_37);
x_39 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_39, 0, x_34);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_39);
return x_40;
}
}
}
case 2:
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_41);
lean_dec_ref(x_1);
x_42 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(x_41);
lean_dec_ref(x_41);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; 
x_43 = lean_box(0);
return x_43;
}
else
{
uint8_t x_44; 
x_44 = !lean_is_exclusive(x_42);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_45 = lean_ctor_get(x_42, 0);
x_46 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_47 = lean_box(0);
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_45);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_50 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_51 = l_Lake_Toml_RBDict_insert___redArg(x_49, x_46, x_48, x_50);
x_52 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_52, 0, x_47);
lean_ctor_set(x_52, 1, x_51);
lean_ctor_set(x_42, 0, x_52);
return x_42;
}
else
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_53 = lean_ctor_get(x_42, 0);
lean_inc(x_53);
lean_dec(x_42);
x_54 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_55 = lean_box(0);
x_56 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_53);
x_57 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_58 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_59 = l_Lake_Toml_RBDict_insert___redArg(x_57, x_54, x_56, x_58);
x_60 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_60, 0, x_55);
lean_ctor_set(x_60, 1, x_59);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_60);
return x_61;
}
}
}
default: 
{
uint8_t x_62; 
x_62 = !lean_is_exclusive(x_1);
if (x_62 == 0)
{
lean_object* x_63; lean_object* x_64; 
x_63 = lean_ctor_get(x_1, 0);
x_64 = l_Lake_StrPatDescr_toToml(x_63);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 0, x_64);
return x_1;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_65 = lean_ctor_get(x_1, 0);
lean_inc(x_65);
lean_dec(x_1);
x_66 = l_Lake_StrPatDescr_toToml(x_65);
x_67 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_67, 0, x_66);
return x_67;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 1);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 2);
lean_inc(x_3);
lean_dec_ref(x_1);
switch (lean_obj_tag(x_2)) {
case 0:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_15; 
x_15 = lean_box(0);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec_ref(x_3);
x_17 = l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0___redArg(x_16);
return x_17;
}
}
case 1:
{
lean_object* x_18; 
lean_dec(x_3);
x_18 = lean_ctor_get(x_2, 0);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_19 = lean_ctor_get(x_2, 1);
x_20 = l_Lake_Pattern_toToml_x3f___redArg___closed__2;
x_21 = lean_string_dec_eq(x_19, x_20);
if (x_21 == 0)
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lake_Pattern_toToml_x3f___redArg___closed__3;
x_23 = lean_string_dec_eq(x_19, x_22);
if (x_23 == 0)
{
goto block_14;
}
else
{
lean_object* x_24; 
lean_dec_ref(x_2);
x_24 = l_Lake_Pattern_toToml_x3f___redArg___closed__6;
return x_24;
}
}
else
{
lean_object* x_25; 
lean_dec_ref(x_2);
x_25 = lean_box(0);
return x_25;
}
}
else
{
goto block_14;
}
}
default: 
{
lean_dec(x_3);
goto block_14;
}
}
block_14:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_4 = lean_box(0);
x_5 = l_Lake_Pattern_toToml_x3f___redArg___closed__1;
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_7 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_8 = 1;
x_9 = l_Lean_Name_toString(x_2, x_8);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_4);
lean_ctor_set(x_10, 1, x_9);
x_11 = l_Lake_Toml_RBDict_insert___redArg(x_6, x_5, x_10, x_7);
x_12 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_12, 0, x_4);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5);
return x_6;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("path", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PathPatDescr_toToml_x3f___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("extension", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PathPatDescr_toToml_x3f___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("fileName", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_PathPatDescr_toToml_x3f___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_PathPatDescr_toToml_x3f___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_PathPatDescr_toToml_x3f(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_2);
if (lean_obj_tag(x_3) == 0)
{
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lake_PathPatDescr_toToml_x3f___closed__1;
x_7 = lean_box(0);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_9 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_10 = l_Lake_Toml_RBDict_insert___redArg(x_8, x_6, x_5, x_9);
x_11 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_3, 0, x_11);
return x_3;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_3, 0);
lean_inc(x_12);
lean_dec(x_3);
x_13 = l_Lake_PathPatDescr_toToml_x3f___closed__1;
x_14 = lean_box(0);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_16 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_17 = l_Lake_Toml_RBDict_insert___redArg(x_15, x_13, x_12, x_16);
x_18 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_18, 0, x_14);
lean_ctor_set(x_18, 1, x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
}
case 1:
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_20);
lean_dec_ref(x_1);
x_21 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_20);
if (lean_obj_tag(x_21) == 0)
{
return x_21;
}
else
{
uint8_t x_22; 
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_23 = lean_ctor_get(x_21, 0);
x_24 = l_Lake_PathPatDescr_toToml_x3f___closed__3;
x_25 = lean_box(0);
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_27 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_28 = l_Lake_Toml_RBDict_insert___redArg(x_26, x_24, x_23, x_27);
x_29 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_29, 0, x_25);
lean_ctor_set(x_29, 1, x_28);
lean_ctor_set(x_21, 0, x_29);
return x_21;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_30 = lean_ctor_get(x_21, 0);
lean_inc(x_30);
lean_dec(x_21);
x_31 = l_Lake_PathPatDescr_toToml_x3f___closed__3;
x_32 = lean_box(0);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_34 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_35 = l_Lake_Toml_RBDict_insert___redArg(x_33, x_31, x_30, x_34);
x_36 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_36, 0, x_32);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_37, 0, x_36);
return x_37;
}
}
}
default: 
{
lean_object* x_38; lean_object* x_39; 
x_38 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_38);
lean_dec_ref(x_1);
x_39 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_38);
if (lean_obj_tag(x_39) == 0)
{
return x_39;
}
else
{
uint8_t x_40; 
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 
x_41 = lean_ctor_get(x_39, 0);
x_42 = l_Lake_PathPatDescr_toToml_x3f___closed__5;
x_43 = lean_box(0);
x_44 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_45 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_46 = l_Lake_Toml_RBDict_insert___redArg(x_44, x_42, x_41, x_45);
x_47 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_47, 0, x_43);
lean_ctor_set(x_47, 1, x_46);
lean_ctor_set(x_39, 0, x_47);
return x_39;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_48 = lean_ctor_get(x_39, 0);
lean_inc(x_48);
lean_dec(x_39);
x_49 = l_Lake_PathPatDescr_toToml_x3f___closed__5;
x_50 = lean_box(0);
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_52 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_53 = l_Lake_Toml_RBDict_insert___redArg(x_51, x_49, x_48, x_52);
x_54 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_54, 0, x_50);
lean_ctor_set(x_54, 1, x_53);
x_55 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_55, 0, x_54);
return x_55;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_PathPatDescr_toToml_x3f), 1, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_Name_eraseHead(x_5);
x_9 = l_Lean_Name_toString(x_8, x_4);
x_10 = lean_box(0);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_9);
x_12 = 1;
x_13 = lean_usize_add(x_2, x_12);
x_14 = lean_array_uset(x_7, x_2, x_11);
x_2 = x_13;
x_3 = x_14;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lake_encodeFacets(lean_object* x_1) {
_start:
{
size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_array_size(x_1);
x_3 = 0;
x_4 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0(x_2, x_3, x_1);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_encodeFacets_spec__0(x_4, x_5, x_3);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_encodeFacets), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_BuildKey_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_2 = l_Lake_PartialBuildKey_toString(x_1);
x_3 = lean_box(0);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey___lam__0), 1, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0;
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_3 = lean_ctor_get(x_2, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 2);
lean_inc(x_4);
x_5 = lean_ctor_get(x_2, 3);
lean_inc(x_5);
x_6 = lean_ctor_get(x_2, 4);
lean_inc(x_6);
lean_dec_ref(x_2);
x_7 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0_spec__0(x_1, x_5);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_4);
x_11 = l_Lake_Toml_RBDict_insert___redArg(x_8, x_3, x_10, x_7);
x_1 = x_11;
x_2 = x_6;
goto _start;
}
else
{
return x_1;
}
}
}
LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0_spec__0(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("options", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("subDir", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("git", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rev", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("version", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__8;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("name", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("scope", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lake_Dependency_toToml___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__13;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Dependency_toToml(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_29; lean_object* x_52; lean_object* x_53; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 1);
lean_inc_ref(x_4);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 3);
lean_inc(x_6);
x_7 = lean_ctor_get(x_1, 4);
lean_inc(x_7);
lean_dec_ref(x_1);
x_52 = l_Lake_Dependency_toToml___closed__9;
x_60 = l_Lake_Dependency_toToml___closed__10;
x_61 = l_Lake_Dependency_toToml___closed__12;
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_63 = 1;
x_64 = l_Lean_Name_toString(x_3, x_63);
x_65 = lean_box(0);
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_65);
lean_ctor_set(x_66, 1, x_64);
x_67 = l_Lake_Toml_RBDict_insert___redArg(x_62, x_61, x_66, x_2);
x_68 = lean_string_dec_eq(x_4, x_60);
if (x_68 == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_69 = l_Lake_Dependency_toToml___closed__14;
x_70 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_70, 0, x_65);
lean_ctor_set(x_70, 1, x_4);
x_71 = l_Lake_Toml_RBDict_insert___redArg(x_62, x_69, x_70, x_67);
x_53 = x_71;
goto block_59;
}
else
{
lean_dec_ref(x_4);
x_53 = x_67;
goto block_59;
}
block_18:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_10 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_11 = l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lake_Dependency_toToml_spec__0_spec__0(x_10, x_7);
x_12 = lean_ctor_get(x_11, 0);
lean_inc_ref(x_12);
x_13 = l_Array_isEmpty___redArg(x_12);
lean_dec_ref(x_12);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = l_Lake_Dependency_toToml___closed__1;
x_15 = lean_box(0);
x_16 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set(x_16, 1, x_11);
x_17 = l_Lake_Toml_RBDict_insert___redArg(x_9, x_14, x_16, x_8);
return x_17;
}
else
{
lean_dec_ref(x_11);
return x_8;
}
}
block_28:
{
if (lean_obj_tag(x_20) == 0)
{
lean_dec(x_19);
x_8 = x_21;
goto block_18;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_22 = lean_ctor_get(x_20, 0);
lean_inc(x_22);
lean_dec_ref(x_20);
x_23 = l_Lake_mkRelPathString(x_22);
x_24 = lean_box(0);
x_25 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_27 = l_Lake_Toml_RBDict_insert___redArg(x_26, x_19, x_25, x_21);
x_8 = x_27;
goto block_18;
}
}
block_51:
{
if (lean_obj_tag(x_6) == 1)
{
lean_object* x_30; 
x_30 = lean_ctor_get(x_6, 0);
lean_inc(x_30);
lean_dec_ref(x_6);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc_ref(x_31);
lean_dec_ref(x_30);
x_32 = l_Lake_PathPatDescr_toToml_x3f___closed__1;
x_33 = l_Lake_mkRelPathString(x_31);
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_33);
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_37 = l_Lake_Toml_RBDict_insert___redArg(x_36, x_32, x_35, x_29);
x_8 = x_37;
goto block_18;
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_38 = lean_ctor_get(x_30, 0);
lean_inc_ref(x_38);
x_39 = lean_ctor_get(x_30, 1);
lean_inc(x_39);
x_40 = lean_ctor_get(x_30, 2);
lean_inc(x_40);
lean_dec_ref(x_30);
x_41 = l_Lake_Dependency_toToml___closed__3;
x_42 = l_Lake_Dependency_toToml___closed__5;
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_44 = lean_box(0);
x_45 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_38);
x_46 = l_Lake_Toml_RBDict_insert___redArg(x_43, x_42, x_45, x_29);
if (lean_obj_tag(x_39) == 0)
{
x_19 = x_41;
x_20 = x_40;
x_21 = x_46;
goto block_28;
}
else
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_47 = lean_ctor_get(x_39, 0);
lean_inc(x_47);
lean_dec_ref(x_39);
x_48 = l_Lake_Dependency_toToml___closed__7;
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_44);
lean_ctor_set(x_49, 1, x_47);
x_50 = l_Lake_Toml_RBDict_insert___redArg(x_43, x_48, x_49, x_46);
x_19 = x_41;
x_20 = x_40;
x_21 = x_50;
goto block_28;
}
}
}
else
{
lean_dec(x_6);
x_8 = x_29;
goto block_18;
}
}
block_59:
{
if (lean_obj_tag(x_5) == 0)
{
x_29 = x_53;
goto block_51;
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_54 = lean_ctor_get(x_5, 0);
lean_inc(x_54);
lean_dec_ref(x_5);
x_55 = lean_box(0);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_54);
x_57 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_58 = l_Lake_Toml_RBDict_insert___redArg(x_57, x_52, x_56, x_53);
x_29 = x_58;
goto block_51;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_instToTomlDependency___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_box(0);
x_3 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_4 = l_Lake_Dependency_toToml(x_1, x_3);
x_5 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
static lean_object* _init_l_Lake_instToTomlDependency() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lake_instToTomlDependency___lam__0), 1, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("x_", 2, 2);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_5 = lean_unsigned_to_nat(1u);
x_6 = lean_nat_add(x_1, x_5);
x_7 = l_Nat_reprFast(x_6);
x_8 = lean_string_append(x_4, x_7);
lean_dec_ref(x_7);
x_9 = lean_box(0);
x_10 = l_Lean_Name_str___override(x_9, x_8);
x_11 = lean_mk_syntax_ident(x_10);
x_12 = lean_array_push(x_3, x_11);
return x_12;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Term", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("pipeProj", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("|>.", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("insertField", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("cfg", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; 
x_7 = lean_ctor_get_uint8(x_4, sizeof(void*)*2);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_3);
lean_ctor_set(x_8, 1, x_6);
return x_8;
}
else
{
lean_object* x_9; uint8_t x_10; 
x_9 = lean_ctor_get(x_4, 0);
lean_inc(x_9);
lean_dec_ref(x_4);
lean_inc(x_9);
x_10 = l_Array_contains___redArg(x_1, x_2, x_9);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_11 = lean_ctor_get(x_5, 1);
lean_inc(x_11);
x_12 = lean_ctor_get(x_5, 2);
lean_inc(x_12);
x_13 = lean_ctor_get(x_5, 5);
lean_inc(x_13);
lean_dec_ref(x_5);
x_14 = l_Lean_SourceInfo_fromRef(x_13, x_10);
lean_dec(x_13);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4;
x_16 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5;
lean_inc(x_14);
x_17 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_17, 0, x_14);
lean_ctor_set(x_17, 1, x_16);
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7;
x_19 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8;
lean_inc(x_12);
lean_inc(x_11);
x_20 = l_Lean_addMacroScope(x_11, x_19, x_12);
x_21 = lean_box(0);
lean_inc(x_14);
x_22 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_22, 0, x_14);
lean_ctor_set(x_22, 1, x_18);
lean_ctor_set(x_22, 2, x_20);
lean_ctor_set(x_22, 3, x_21);
x_23 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_24 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_25 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
x_26 = l_Lean_addMacroScope(x_11, x_25, x_12);
lean_inc(x_14);
x_27 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_27, 0, x_14);
lean_ctor_set(x_27, 1, x_24);
lean_ctor_set(x_27, 2, x_26);
lean_ctor_set(x_27, 3, x_21);
x_28 = l_Lean_instQuoteNameMkStr1___private__1(x_9);
lean_inc(x_14);
x_29 = l_Lean_Syntax_node2(x_14, x_23, x_27, x_28);
x_30 = l_Lean_Syntax_node4(x_14, x_15, x_3, x_17, x_22, x_29);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_6);
return x_31;
}
else
{
lean_object* x_32; 
lean_dec(x_9);
lean_dec_ref(x_5);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_3);
lean_ctor_set(x_32, 1, x_6);
return x_32;
}
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_instMonad___lam__0), 5, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_instMonad___lam__1), 5, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_instMonad___lam__2), 5, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_map), 7, 2);
lean_closure_set(x_1, 0, lean_box(0));
lean_closure_set(x_1, 1, lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_pure), 5, 2);
lean_closure_set(x_1, 0, lean_box(0));
lean_closure_set(x_1, 1, lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_seqRight), 7, 2);
lean_closure_set(x_1, 0, lean_box(0));
lean_closure_set(x_1, 1, lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4;
x_6 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_3);
lean_ctor_set(x_6, 3, x_2);
lean_ctor_set(x_6, 4, x_1);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_EStateM_bind), 7, 2);
lean_closure_set(x_1, 0, lean_box(0));
lean_closure_set(x_1, 1, lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9;
x_2 = l_ReaderT_instMonad___redArg(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_root_", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("toToml", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instToToml", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Command", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declaration", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declModifiers", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = l_Array_mkArray0(lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("definition", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("def", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declId", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optDeclSig", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("explicitBinder", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("(", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(")", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("t", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Table", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lake", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Toml", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("binderDefault", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(":=", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("choice", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("term{}", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("{", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("}", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInst", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("structInstFields", 16, 16);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("optEllipsis", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declValSimple", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Termination", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("suffix", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instance", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("attrKind", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declSig", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeSpec", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("app", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ToToml", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("anonymousCtor", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("⟨", 3, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("paren", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hygienicLParen", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hygieneInfo", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Dependency_toToml___closed__10;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("System", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111;
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("proj", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("cdot", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("·", 2, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("⟩", 3, 1);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Name_beq___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("t.insert", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121;
x_2 = l_String_toRawSubstring_x27(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("insert", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("quotedName", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0;
x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`name", 5, 5);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_338; uint8_t x_339; 
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10;
x_8 = l_Lean_Macro_instMonadRefMacroM;
x_9 = lean_ctor_get(x_3, 0);
lean_inc_ref(x_9);
x_10 = lean_ctor_get(x_3, 2);
lean_inc(x_10);
if (lean_is_exclusive(x_3)) {
 lean_ctor_release(x_3, 0);
 lean_ctor_release(x_3, 1);
 lean_ctor_release(x_3, 2);
 x_11 = x_3;
} else {
 lean_dec_ref(x_3);
 x_11 = lean_box(0);
}
x_12 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___boxed), 3, 0);
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120;
x_319 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1), 6, 2);
lean_closure_set(x_319, 0, x_318);
lean_closure_set(x_319, 1, x_4);
x_338 = lean_unsigned_to_nat(0u);
x_339 = lean_nat_dec_eq(x_10, x_338);
if (x_339 == 0)
{
lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; 
x_340 = lean_ctor_get(x_5, 1);
x_341 = lean_ctor_get(x_5, 2);
x_342 = lean_ctor_get(x_5, 5);
x_343 = l_Lean_SourceInfo_fromRef(x_342, x_339);
x_344 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_346 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_341);
lean_inc(x_340);
x_347 = l_Lean_addMacroScope(x_340, x_346, x_341);
x_348 = lean_box(0);
lean_inc(x_343);
x_349 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_349, 0, x_343);
lean_ctor_set(x_349, 1, x_345);
lean_ctor_set(x_349, 2, x_347);
lean_ctor_set(x_349, 3, x_348);
x_350 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_351 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_352 = l_Lake_Dependency_toToml___closed__12;
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_343);
x_354 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_354, 0, x_343);
lean_ctor_set(x_354, 1, x_353);
lean_inc(x_343);
x_355 = l_Lean_Syntax_node1(x_343, x_352, x_354);
lean_inc(x_343);
x_356 = l_Lean_Syntax_node1(x_343, x_351, x_355);
x_357 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
lean_inc(x_10);
x_358 = l_Nat_reprFast(x_10);
x_359 = lean_string_append(x_357, x_358);
lean_dec_ref(x_358);
x_360 = lean_box(0);
x_361 = l_Lean_Name_str___override(x_360, x_359);
x_362 = lean_mk_syntax_ident(x_361);
lean_inc(x_343);
x_363 = l_Lean_Syntax_node2(x_343, x_350, x_356, x_362);
x_364 = l_Lean_Syntax_node2(x_343, x_344, x_349, x_363);
x_320 = x_364;
x_321 = x_5;
x_322 = x_6;
goto block_337;
}
else
{
lean_object* x_365; lean_object* x_366; lean_object* x_367; uint8_t x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; 
x_365 = lean_ctor_get(x_5, 1);
x_366 = lean_ctor_get(x_5, 2);
x_367 = lean_ctor_get(x_5, 5);
x_368 = 0;
x_369 = l_Lean_SourceInfo_fromRef(x_367, x_368);
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_371 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_366);
lean_inc(x_365);
x_372 = l_Lean_addMacroScope(x_365, x_371, x_366);
x_373 = lean_box(0);
x_374 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_374, 0, x_369);
lean_ctor_set(x_374, 1, x_370);
lean_ctor_set(x_374, 2, x_372);
lean_ctor_set(x_374, 3, x_373);
x_320 = x_374;
x_321 = x_5;
x_322 = x_6;
goto block_337;
}
block_317:
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_19 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_20 = l_Lean_Name_str___override(x_2, x_19);
x_21 = l_Lean_Name_append(x_18, x_20);
x_22 = 0;
x_23 = l_Lean_mkIdentFromRef___redArg(x_7, x_8, x_21, x_22);
lean_inc_ref(x_14);
x_24 = lean_apply_2(x_23, x_14, x_17);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
x_26 = lean_ctor_get(x_24, 1);
lean_inc(x_26);
lean_dec_ref(x_24);
x_27 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_28 = l_Lean_Name_str___override(x_2, x_27);
x_29 = l_Lean_Name_append(x_18, x_28);
x_30 = l_Lean_mkIdentFromRef___redArg(x_7, x_8, x_29, x_22);
lean_inc_ref(x_14);
x_31 = lean_apply_2(x_30, x_14, x_26);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; 
x_33 = lean_ctor_get(x_31, 0);
x_34 = lean_ctor_get(x_14, 1);
lean_inc(x_34);
x_35 = lean_ctor_get(x_14, 2);
lean_inc(x_35);
x_36 = lean_ctor_get(x_14, 5);
lean_inc(x_36);
lean_dec_ref(x_14);
x_37 = lean_mk_empty_array_with_capacity(x_13);
lean_inc(x_13);
x_38 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop(lean_box(0), x_13, x_12, x_13, lean_box(0), x_37);
lean_dec(x_13);
x_39 = l_Lean_Syntax_mkCApp(x_2, x_38);
x_40 = l_Lean_SourceInfo_fromRef(x_36, x_22);
lean_dec(x_36);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_42 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_44 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_40);
if (lean_is_scalar(x_11)) {
 x_45 = lean_alloc_ctor(1, 3, 0);
} else {
 x_45 = x_11;
 lean_ctor_set_tag(x_45, 1);
}
lean_ctor_set(x_45, 0, x_40);
lean_ctor_set(x_45, 1, x_43);
lean_ctor_set(x_45, 2, x_44);
lean_inc_ref_n(x_45, 7);
lean_inc(x_40);
x_46 = l_Lean_Syntax_node7(x_40, x_42, x_45, x_45, x_45, x_45, x_45, x_45, x_45);
x_47 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_48 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_40);
x_49 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_49, 0, x_40);
lean_ctor_set(x_49, 1, x_48);
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_51 = lean_mk_empty_array_with_capacity(x_15);
x_52 = lean_box(2);
x_53 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_43);
lean_ctor_set(x_53, 2, x_51);
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_55 = lean_array_push(x_54, x_25);
x_56 = lean_array_push(x_55, x_53);
x_57 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_57, 0, x_52);
lean_ctor_set(x_57, 1, x_50);
lean_ctor_set(x_57, 2, x_56);
x_58 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_60 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_40);
x_61 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_61, 0, x_40);
lean_ctor_set(x_61, 1, x_60);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_63 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_35);
lean_inc(x_34);
x_64 = l_Lean_addMacroScope(x_34, x_63, x_35);
x_65 = lean_box(0);
lean_inc(x_40);
x_66 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_66, 0, x_40);
lean_ctor_set(x_66, 1, x_62);
lean_ctor_set(x_66, 2, x_64);
lean_ctor_set(x_66, 3, x_65);
lean_inc(x_40);
x_67 = l_Lean_Syntax_node1(x_40, x_43, x_66);
x_68 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_40);
x_69 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_69, 0, x_40);
lean_ctor_set(x_69, 1, x_68);
lean_inc(x_39);
lean_inc_ref(x_69);
lean_inc(x_40);
x_70 = l_Lean_Syntax_node2(x_40, x_43, x_69, x_39);
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_40);
x_72 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_72, 0, x_40);
lean_ctor_set(x_72, 1, x_71);
lean_inc_ref(x_72);
lean_inc_ref(x_45);
lean_inc_ref(x_61);
lean_inc(x_40);
x_73 = l_Lean_Syntax_node5(x_40, x_59, x_61, x_67, x_70, x_45, x_72);
x_74 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_75 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_35);
lean_inc(x_34);
x_76 = l_Lean_addMacroScope(x_34, x_75, x_35);
lean_inc(x_40);
x_77 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_77, 0, x_40);
lean_ctor_set(x_77, 1, x_74);
lean_ctor_set(x_77, 2, x_76);
lean_ctor_set(x_77, 3, x_65);
lean_inc(x_40);
x_78 = l_Lean_Syntax_node1(x_40, x_43, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_35);
lean_inc(x_34);
x_81 = l_Lean_addMacroScope(x_34, x_80, x_35);
x_82 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_40);
x_83 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_83, 0, x_40);
lean_ctor_set(x_83, 1, x_79);
lean_ctor_set(x_83, 2, x_81);
lean_ctor_set(x_83, 3, x_82);
lean_inc_ref(x_69);
lean_inc(x_40);
x_84 = l_Lean_Syntax_node2(x_40, x_43, x_69, x_83);
x_85 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_40);
x_87 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_87, 0, x_40);
lean_ctor_set(x_87, 1, x_86);
x_88 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_90 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_40);
x_91 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_91, 0, x_40);
lean_ctor_set(x_91, 1, x_90);
x_92 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_40);
x_93 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_93, 0, x_40);
lean_ctor_set(x_93, 1, x_92);
lean_inc_ref(x_93);
lean_inc_ref(x_91);
lean_inc(x_40);
x_94 = l_Lean_Syntax_node2(x_40, x_89, x_91, x_93);
x_95 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_96 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_45);
lean_inc(x_40);
x_97 = l_Lean_Syntax_node1(x_40, x_96, x_45);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_45);
lean_inc(x_40);
x_99 = l_Lean_Syntax_node1(x_40, x_98, x_45);
lean_inc_ref_n(x_45, 2);
lean_inc(x_40);
x_100 = l_Lean_Syntax_node6(x_40, x_95, x_91, x_45, x_97, x_99, x_45, x_93);
lean_inc(x_40);
x_101 = l_Lean_Syntax_node2(x_40, x_88, x_94, x_100);
lean_inc_ref(x_87);
lean_inc(x_40);
x_102 = l_Lean_Syntax_node2(x_40, x_85, x_87, x_101);
lean_inc(x_40);
x_103 = l_Lean_Syntax_node1(x_40, x_43, x_102);
lean_inc_ref(x_72);
lean_inc_ref(x_61);
lean_inc(x_40);
x_104 = l_Lean_Syntax_node5(x_40, x_59, x_61, x_78, x_84, x_103, x_72);
lean_inc(x_40);
x_105 = l_Lean_Syntax_node2(x_40, x_43, x_73, x_104);
lean_inc_ref(x_45);
lean_inc(x_40);
x_106 = l_Lean_Syntax_node2(x_40, x_58, x_105, x_45);
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_108 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_45, 2);
lean_inc(x_40);
x_109 = l_Lean_Syntax_node2(x_40, x_108, x_45, x_45);
lean_inc_ref(x_45);
lean_inc(x_109);
lean_inc_ref(x_87);
lean_inc(x_40);
x_110 = l_Lean_Syntax_node4(x_40, x_107, x_87, x_16, x_109, x_45);
lean_inc_ref(x_45);
lean_inc(x_40);
x_111 = l_Lean_Syntax_node5(x_40, x_47, x_49, x_57, x_106, x_110, x_45);
lean_inc(x_46);
lean_inc(x_40);
x_112 = l_Lean_Syntax_node2(x_40, x_41, x_46, x_111);
x_113 = lean_array_push(x_1, x_112);
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_45);
lean_inc(x_40);
x_117 = l_Lean_Syntax_node1(x_40, x_116, x_45);
lean_inc(x_40);
x_118 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_118, 0, x_40);
lean_ctor_set(x_118, 1, x_114);
lean_inc_ref(x_45);
lean_inc(x_40);
x_119 = l_Lean_Syntax_node2(x_40, x_50, x_33, x_45);
lean_inc(x_40);
x_120 = l_Lean_Syntax_node1(x_40, x_43, x_119);
x_121 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_122 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_123 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_35);
lean_inc(x_34);
x_126 = l_Lean_addMacroScope(x_34, x_125, x_35);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_40);
x_128 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_128, 0, x_40);
lean_ctor_set(x_128, 1, x_124);
lean_ctor_set(x_128, 2, x_126);
lean_ctor_set(x_128, 3, x_127);
lean_inc(x_40);
x_129 = l_Lean_Syntax_node1(x_40, x_43, x_39);
lean_inc(x_40);
x_130 = l_Lean_Syntax_node2(x_40, x_123, x_128, x_129);
lean_inc(x_40);
x_131 = l_Lean_Syntax_node2(x_40, x_122, x_69, x_130);
lean_inc_ref(x_45);
lean_inc(x_40);
x_132 = l_Lean_Syntax_node2(x_40, x_121, x_45, x_131);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_134 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_40);
x_135 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_135, 0, x_40);
lean_ctor_set(x_135, 1, x_134);
x_136 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_139 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_140 = lean_box(0);
lean_inc(x_35);
lean_inc(x_34);
x_141 = l_Lean_addMacroScope(x_34, x_140, x_35);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_40);
x_143 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_143, 0, x_40);
lean_ctor_set(x_143, 1, x_139);
lean_ctor_set(x_143, 2, x_141);
lean_ctor_set(x_143, 3, x_142);
lean_inc(x_40);
x_144 = l_Lean_Syntax_node1(x_40, x_138, x_143);
lean_inc(x_144);
lean_inc(x_40);
x_145 = l_Lean_Syntax_node2(x_40, x_137, x_61, x_144);
x_146 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_148 = l_Lean_addMacroScope(x_34, x_147, x_35);
x_149 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_40);
x_150 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_150, 0, x_40);
lean_ctor_set(x_150, 1, x_146);
lean_ctor_set(x_150, 2, x_148);
lean_ctor_set(x_150, 3, x_149);
x_151 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_152 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_153 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_40);
x_154 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_154, 0, x_40);
lean_ctor_set(x_154, 1, x_153);
lean_inc(x_40);
x_155 = l_Lean_Syntax_node2(x_40, x_152, x_154, x_144);
x_156 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_40);
x_157 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_157, 0, x_40);
lean_ctor_set(x_157, 1, x_156);
lean_inc_ref(x_150);
lean_inc(x_40);
x_158 = l_Lean_Syntax_node3(x_40, x_151, x_155, x_157, x_150);
lean_inc(x_40);
x_159 = l_Lean_Syntax_node1(x_40, x_43, x_158);
lean_inc(x_40);
x_160 = l_Lean_Syntax_node2(x_40, x_123, x_150, x_159);
lean_inc(x_40);
x_161 = l_Lean_Syntax_node3(x_40, x_136, x_145, x_160, x_72);
lean_inc(x_40);
x_162 = l_Lean_Syntax_node1(x_40, x_43, x_161);
x_163 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_40);
x_164 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_164, 0, x_40);
lean_ctor_set(x_164, 1, x_163);
lean_inc(x_40);
x_165 = l_Lean_Syntax_node3(x_40, x_133, x_135, x_162, x_164);
lean_inc_ref(x_45);
lean_inc(x_40);
x_166 = l_Lean_Syntax_node4(x_40, x_107, x_87, x_165, x_109, x_45);
lean_inc(x_40);
x_167 = l_Lean_Syntax_node6(x_40, x_115, x_117, x_118, x_45, x_120, x_132, x_166);
x_168 = l_Lean_Syntax_node2(x_40, x_41, x_46, x_167);
x_169 = lean_array_push(x_113, x_168);
lean_ctor_set(x_31, 0, x_169);
return x_31;
}
else
{
lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; 
x_170 = lean_ctor_get(x_31, 0);
x_171 = lean_ctor_get(x_31, 1);
lean_inc(x_171);
lean_inc(x_170);
lean_dec(x_31);
x_172 = lean_ctor_get(x_14, 1);
lean_inc(x_172);
x_173 = lean_ctor_get(x_14, 2);
lean_inc(x_173);
x_174 = lean_ctor_get(x_14, 5);
lean_inc(x_174);
lean_dec_ref(x_14);
x_175 = lean_mk_empty_array_with_capacity(x_13);
lean_inc(x_13);
x_176 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop(lean_box(0), x_13, x_12, x_13, lean_box(0), x_175);
lean_dec(x_13);
x_177 = l_Lean_Syntax_mkCApp(x_2, x_176);
x_178 = l_Lean_SourceInfo_fromRef(x_174, x_22);
lean_dec(x_174);
x_179 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_180 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_181 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_178);
if (lean_is_scalar(x_11)) {
 x_183 = lean_alloc_ctor(1, 3, 0);
} else {
 x_183 = x_11;
 lean_ctor_set_tag(x_183, 1);
}
lean_ctor_set(x_183, 0, x_178);
lean_ctor_set(x_183, 1, x_181);
lean_ctor_set(x_183, 2, x_182);
lean_inc_ref_n(x_183, 7);
lean_inc(x_178);
x_184 = l_Lean_Syntax_node7(x_178, x_180, x_183, x_183, x_183, x_183, x_183, x_183, x_183);
x_185 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_178);
x_187 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_187, 0, x_178);
lean_ctor_set(x_187, 1, x_186);
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_189 = lean_mk_empty_array_with_capacity(x_15);
x_190 = lean_box(2);
x_191 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_191, 0, x_190);
lean_ctor_set(x_191, 1, x_181);
lean_ctor_set(x_191, 2, x_189);
x_192 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_193 = lean_array_push(x_192, x_25);
x_194 = lean_array_push(x_193, x_191);
x_195 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_195, 0, x_190);
lean_ctor_set(x_195, 1, x_188);
lean_ctor_set(x_195, 2, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_197 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_198 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_178);
x_199 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_199, 0, x_178);
lean_ctor_set(x_199, 1, x_198);
x_200 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_201 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_173);
lean_inc(x_172);
x_202 = l_Lean_addMacroScope(x_172, x_201, x_173);
x_203 = lean_box(0);
lean_inc(x_178);
x_204 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_204, 0, x_178);
lean_ctor_set(x_204, 1, x_200);
lean_ctor_set(x_204, 2, x_202);
lean_ctor_set(x_204, 3, x_203);
lean_inc(x_178);
x_205 = l_Lean_Syntax_node1(x_178, x_181, x_204);
x_206 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_178);
x_207 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_207, 0, x_178);
lean_ctor_set(x_207, 1, x_206);
lean_inc(x_177);
lean_inc_ref(x_207);
lean_inc(x_178);
x_208 = l_Lean_Syntax_node2(x_178, x_181, x_207, x_177);
x_209 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_178);
x_210 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_210, 0, x_178);
lean_ctor_set(x_210, 1, x_209);
lean_inc_ref(x_210);
lean_inc_ref(x_183);
lean_inc_ref(x_199);
lean_inc(x_178);
x_211 = l_Lean_Syntax_node5(x_178, x_197, x_199, x_205, x_208, x_183, x_210);
x_212 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_173);
lean_inc(x_172);
x_214 = l_Lean_addMacroScope(x_172, x_213, x_173);
lean_inc(x_178);
x_215 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_215, 0, x_178);
lean_ctor_set(x_215, 1, x_212);
lean_ctor_set(x_215, 2, x_214);
lean_ctor_set(x_215, 3, x_203);
lean_inc(x_178);
x_216 = l_Lean_Syntax_node1(x_178, x_181, x_215);
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_173);
lean_inc(x_172);
x_219 = l_Lean_addMacroScope(x_172, x_218, x_173);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_178);
x_221 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_221, 0, x_178);
lean_ctor_set(x_221, 1, x_217);
lean_ctor_set(x_221, 2, x_219);
lean_ctor_set(x_221, 3, x_220);
lean_inc_ref(x_207);
lean_inc(x_178);
x_222 = l_Lean_Syntax_node2(x_178, x_181, x_207, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_178);
x_225 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_225, 0, x_178);
lean_ctor_set(x_225, 1, x_224);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_227 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_228 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_178);
x_229 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_229, 0, x_178);
lean_ctor_set(x_229, 1, x_228);
x_230 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_178);
x_231 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_231, 0, x_178);
lean_ctor_set(x_231, 1, x_230);
lean_inc_ref(x_231);
lean_inc_ref(x_229);
lean_inc(x_178);
x_232 = l_Lean_Syntax_node2(x_178, x_227, x_229, x_231);
x_233 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_234 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_183);
lean_inc(x_178);
x_235 = l_Lean_Syntax_node1(x_178, x_234, x_183);
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_183);
lean_inc(x_178);
x_237 = l_Lean_Syntax_node1(x_178, x_236, x_183);
lean_inc_ref_n(x_183, 2);
lean_inc(x_178);
x_238 = l_Lean_Syntax_node6(x_178, x_233, x_229, x_183, x_235, x_237, x_183, x_231);
lean_inc(x_178);
x_239 = l_Lean_Syntax_node2(x_178, x_226, x_232, x_238);
lean_inc_ref(x_225);
lean_inc(x_178);
x_240 = l_Lean_Syntax_node2(x_178, x_223, x_225, x_239);
lean_inc(x_178);
x_241 = l_Lean_Syntax_node1(x_178, x_181, x_240);
lean_inc_ref(x_210);
lean_inc_ref(x_199);
lean_inc(x_178);
x_242 = l_Lean_Syntax_node5(x_178, x_197, x_199, x_216, x_222, x_241, x_210);
lean_inc(x_178);
x_243 = l_Lean_Syntax_node2(x_178, x_181, x_211, x_242);
lean_inc_ref(x_183);
lean_inc(x_178);
x_244 = l_Lean_Syntax_node2(x_178, x_196, x_243, x_183);
x_245 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_246 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_183, 2);
lean_inc(x_178);
x_247 = l_Lean_Syntax_node2(x_178, x_246, x_183, x_183);
lean_inc_ref(x_183);
lean_inc(x_247);
lean_inc_ref(x_225);
lean_inc(x_178);
x_248 = l_Lean_Syntax_node4(x_178, x_245, x_225, x_16, x_247, x_183);
lean_inc_ref(x_183);
lean_inc(x_178);
x_249 = l_Lean_Syntax_node5(x_178, x_185, x_187, x_195, x_244, x_248, x_183);
lean_inc(x_184);
lean_inc(x_178);
x_250 = l_Lean_Syntax_node2(x_178, x_179, x_184, x_249);
x_251 = lean_array_push(x_1, x_250);
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_254 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_183);
lean_inc(x_178);
x_255 = l_Lean_Syntax_node1(x_178, x_254, x_183);
lean_inc(x_178);
x_256 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_256, 0, x_178);
lean_ctor_set(x_256, 1, x_252);
lean_inc_ref(x_183);
lean_inc(x_178);
x_257 = l_Lean_Syntax_node2(x_178, x_188, x_170, x_183);
lean_inc(x_178);
x_258 = l_Lean_Syntax_node1(x_178, x_181, x_257);
x_259 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_260 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_263 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_173);
lean_inc(x_172);
x_264 = l_Lean_addMacroScope(x_172, x_263, x_173);
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_178);
x_266 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_266, 0, x_178);
lean_ctor_set(x_266, 1, x_262);
lean_ctor_set(x_266, 2, x_264);
lean_ctor_set(x_266, 3, x_265);
lean_inc(x_178);
x_267 = l_Lean_Syntax_node1(x_178, x_181, x_177);
lean_inc(x_178);
x_268 = l_Lean_Syntax_node2(x_178, x_261, x_266, x_267);
lean_inc(x_178);
x_269 = l_Lean_Syntax_node2(x_178, x_260, x_207, x_268);
lean_inc_ref(x_183);
lean_inc(x_178);
x_270 = l_Lean_Syntax_node2(x_178, x_259, x_183, x_269);
x_271 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_272 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_178);
x_273 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_273, 0, x_178);
lean_ctor_set(x_273, 1, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_276 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_278 = lean_box(0);
lean_inc(x_173);
lean_inc(x_172);
x_279 = l_Lean_addMacroScope(x_172, x_278, x_173);
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_178);
x_281 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_281, 0, x_178);
lean_ctor_set(x_281, 1, x_277);
lean_ctor_set(x_281, 2, x_279);
lean_ctor_set(x_281, 3, x_280);
lean_inc(x_178);
x_282 = l_Lean_Syntax_node1(x_178, x_276, x_281);
lean_inc(x_282);
lean_inc(x_178);
x_283 = l_Lean_Syntax_node2(x_178, x_275, x_199, x_282);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_285 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_286 = l_Lean_addMacroScope(x_172, x_285, x_173);
x_287 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_178);
x_288 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_288, 0, x_178);
lean_ctor_set(x_288, 1, x_284);
lean_ctor_set(x_288, 2, x_286);
lean_ctor_set(x_288, 3, x_287);
x_289 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_290 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_178);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_178);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_178);
x_293 = l_Lean_Syntax_node2(x_178, x_290, x_292, x_282);
x_294 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_178);
x_295 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_295, 0, x_178);
lean_ctor_set(x_295, 1, x_294);
lean_inc_ref(x_288);
lean_inc(x_178);
x_296 = l_Lean_Syntax_node3(x_178, x_289, x_293, x_295, x_288);
lean_inc(x_178);
x_297 = l_Lean_Syntax_node1(x_178, x_181, x_296);
lean_inc(x_178);
x_298 = l_Lean_Syntax_node2(x_178, x_261, x_288, x_297);
lean_inc(x_178);
x_299 = l_Lean_Syntax_node3(x_178, x_274, x_283, x_298, x_210);
lean_inc(x_178);
x_300 = l_Lean_Syntax_node1(x_178, x_181, x_299);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_178);
x_302 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_302, 0, x_178);
lean_ctor_set(x_302, 1, x_301);
lean_inc(x_178);
x_303 = l_Lean_Syntax_node3(x_178, x_271, x_273, x_300, x_302);
lean_inc_ref(x_183);
lean_inc(x_178);
x_304 = l_Lean_Syntax_node4(x_178, x_245, x_225, x_303, x_247, x_183);
lean_inc(x_178);
x_305 = l_Lean_Syntax_node6(x_178, x_253, x_255, x_256, x_183, x_258, x_270, x_304);
x_306 = l_Lean_Syntax_node2(x_178, x_179, x_184, x_305);
x_307 = lean_array_push(x_251, x_306);
x_308 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_308, 0, x_307);
lean_ctor_set(x_308, 1, x_171);
return x_308;
}
}
else
{
uint8_t x_309; 
lean_dec(x_25);
lean_dec(x_16);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec(x_2);
lean_dec_ref(x_1);
x_309 = !lean_is_exclusive(x_31);
if (x_309 == 0)
{
return x_31;
}
else
{
lean_object* x_310; lean_object* x_311; lean_object* x_312; 
x_310 = lean_ctor_get(x_31, 0);
x_311 = lean_ctor_get(x_31, 1);
lean_inc(x_311);
lean_inc(x_310);
lean_dec(x_31);
x_312 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_312, 0, x_310);
lean_ctor_set(x_312, 1, x_311);
return x_312;
}
}
}
else
{
uint8_t x_313; 
lean_dec(x_16);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec(x_2);
lean_dec_ref(x_1);
x_313 = !lean_is_exclusive(x_24);
if (x_313 == 0)
{
return x_24;
}
else
{
lean_object* x_314; lean_object* x_315; lean_object* x_316; 
x_314 = lean_ctor_get(x_24, 0);
x_315 = lean_ctor_get(x_24, 1);
lean_inc(x_315);
lean_inc(x_314);
lean_dec(x_24);
x_316 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_316, 0, x_314);
lean_ctor_set(x_316, 1, x_315);
return x_316;
}
}
}
block_337:
{
lean_object* x_323; lean_object* x_324; uint8_t x_325; 
x_323 = lean_unsigned_to_nat(0u);
x_324 = lean_array_get_size(x_9);
x_325 = lean_nat_dec_lt(x_323, x_324);
if (x_325 == 0)
{
lean_dec(x_324);
lean_dec_ref(x_319);
lean_dec_ref(x_9);
x_13 = x_10;
x_14 = x_321;
x_15 = x_323;
x_16 = x_320;
x_17 = x_322;
goto block_317;
}
else
{
uint8_t x_326; 
x_326 = lean_nat_dec_le(x_324, x_324);
if (x_326 == 0)
{
lean_dec(x_324);
lean_dec_ref(x_319);
lean_dec_ref(x_9);
x_13 = x_10;
x_14 = x_321;
x_15 = x_323;
x_16 = x_320;
x_17 = x_322;
goto block_317;
}
else
{
size_t x_327; size_t x_328; lean_object* x_329; lean_object* x_330; 
x_327 = 0;
x_328 = lean_usize_of_nat(x_324);
lean_dec(x_324);
x_329 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_7, x_319, x_9, x_327, x_328, x_320);
lean_inc_ref(x_321);
x_330 = lean_apply_2(x_329, x_321, x_322);
if (lean_obj_tag(x_330) == 0)
{
lean_object* x_331; lean_object* x_332; 
x_331 = lean_ctor_get(x_330, 0);
lean_inc(x_331);
x_332 = lean_ctor_get(x_330, 1);
lean_inc(x_332);
lean_dec_ref(x_330);
x_13 = x_10;
x_14 = x_321;
x_15 = x_323;
x_16 = x_331;
x_17 = x_332;
goto block_317;
}
else
{
uint8_t x_333; 
lean_dec_ref(x_321);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_2);
lean_dec_ref(x_1);
x_333 = !lean_is_exclusive(x_330);
if (x_333 == 0)
{
return x_330;
}
else
{
lean_object* x_334; lean_object* x_335; lean_object* x_336; 
x_334 = lean_ctor_get(x_330, 0);
x_335 = lean_ctor_get(x_330, 1);
lean_inc(x_335);
lean_inc(x_334);
lean_dec(x_330);
x_336 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_336, 0, x_334);
lean_ctor_set(x_336, 1, x_335);
return x_336;
}
}
}
}
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0;
x_2 = lean_box(0);
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CLI", 3, 3);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Translate", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("commandGen_toml_encoders%", 25, 25);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("gen_toml_encoders%", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13;
x_2 = lean_unsigned_to_nat(1024u);
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25() {
_start:
{
lean_object* x_1; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_2, x_4);
if (x_5 == 1)
{
lean_dec(x_2);
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = lean_nat_sub(x_2, x_6);
x_8 = lean_nat_sub(x_1, x_2);
lean_dec(x_2);
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_10 = lean_nat_add(x_8, x_6);
lean_dec(x_8);
x_11 = l_Nat_reprFast(x_10);
x_12 = lean_string_append(x_9, x_11);
lean_dec_ref(x_11);
x_13 = lean_box(0);
x_14 = l_Lean_Name_str___override(x_13, x_12);
x_15 = lean_mk_syntax_ident(x_14);
x_16 = lean_array_push(x_3, x_15);
x_2 = x_7;
x_3 = x_16;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_1, x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 5);
x_6 = l_Lean_mkIdentFrom(x_5, x_1, x_2);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_4);
return x_7;
}
}
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_array_uget(x_2, x_3);
x_7 = lean_name_eq(x_1, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
size_t x_8; size_t x_9; 
x_8 = 1;
x_9 = lean_usize_add(x_3, x_8);
x_3 = x_9;
goto _start;
}
else
{
return x_7;
}
}
else
{
uint8_t x_11; 
x_11 = 0;
return x_11;
}
}
}
LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_5;
}
else
{
if (x_5 == 0)
{
lean_dec(x_4);
return x_5;
}
else
{
size_t x_6; size_t x_7; uint8_t x_8; 
x_6 = 0;
x_7 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0(x_2, x_1, x_6, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_14; 
x_14 = lean_usize_dec_eq(x_3, x_4);
if (x_14 == 0)
{
lean_object* x_15; uint8_t x_16; 
x_15 = lean_array_uget(x_2, x_3);
x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*2);
if (x_16 == 0)
{
lean_dec(x_15);
x_8 = x_5;
x_9 = x_7;
goto block_13;
}
else
{
lean_object* x_17; uint8_t x_18; 
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
lean_dec(x_15);
x_18 = l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0(x_1, x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_19 = lean_ctor_get(x_6, 1);
x_20 = lean_ctor_get(x_6, 2);
x_21 = lean_ctor_get(x_6, 5);
x_22 = l_Lean_SourceInfo_fromRef(x_21, x_18);
x_23 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4;
x_24 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5;
lean_inc(x_22);
x_25 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_25, 0, x_22);
lean_ctor_set(x_25, 1, x_24);
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7;
x_27 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8;
lean_inc(x_20);
lean_inc(x_19);
x_28 = l_Lean_addMacroScope(x_19, x_27, x_20);
x_29 = lean_box(0);
lean_inc(x_22);
x_30 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_30, 0, x_22);
lean_ctor_set(x_30, 1, x_26);
lean_ctor_set(x_30, 2, x_28);
lean_ctor_set(x_30, 3, x_29);
x_31 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_32 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_20);
lean_inc(x_19);
x_34 = l_Lean_addMacroScope(x_19, x_33, x_20);
lean_inc(x_22);
x_35 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_35, 0, x_22);
lean_ctor_set(x_35, 1, x_32);
lean_ctor_set(x_35, 2, x_34);
lean_ctor_set(x_35, 3, x_29);
x_36 = l_Lean_instQuoteNameMkStr1___private__1(x_17);
lean_inc(x_22);
x_37 = l_Lean_Syntax_node2(x_22, x_31, x_35, x_36);
x_38 = l_Lean_Syntax_node4(x_22, x_23, x_5, x_25, x_30, x_37);
x_8 = x_38;
x_9 = x_7;
goto block_13;
}
else
{
lean_dec(x_17);
x_8 = x_5;
x_9 = x_7;
goto block_13;
}
}
}
else
{
lean_object* x_39; 
lean_dec_ref(x_6);
x_39 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_39, 0, x_5);
lean_ctor_set(x_39, 1, x_7);
return x_39;
}
block_13:
{
size_t x_10; size_t x_11; 
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_3 = x_11;
x_5 = x_8;
x_7 = x_9;
goto _start;
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LeanConfig", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LeanLibConfig", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("nativeFacets", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7;
x_3 = lean_array_push(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LeanExeConfig", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InputFileConfig", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("InputDirConfig", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("WorkspaceConfig", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("PackageConfig", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_LeanConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_6, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_6, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_6, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_6, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_6, 5);
lean_inc(x_28);
lean_dec_ref(x_6);
x_29 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_29);
lean_dec(x_7);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_8);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_6, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_6, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_6, 5);
lean_inc(x_165);
lean_dec_ref(x_6);
x_166 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_166);
lean_dec(x_7);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_8);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_6, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_6, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_6, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_6, 5);
lean_inc(x_310);
lean_dec_ref(x_6);
x_311 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_311);
lean_dec(x_7);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_8);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_LeanLibConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_6, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_6, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_6, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_6, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_6, 5);
lean_inc(x_28);
lean_dec_ref(x_6);
x_29 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_29);
lean_dec(x_7);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_8);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_6, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_6, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_6, 5);
lean_inc(x_165);
lean_dec_ref(x_6);
x_166 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_166);
lean_dec(x_7);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_8);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_6, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_6, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_6, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_6, 5);
lean_inc(x_310);
lean_dec_ref(x_6);
x_311 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_311);
lean_dec(x_7);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_8);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_448;
x_7 = x_451;
x_8 = x_452;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_LeanExeConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_8, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_8, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_8, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_8, 5);
lean_inc(x_28);
lean_dec_ref(x_8);
x_29 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_29);
lean_dec(x_7);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_6);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_8, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_8, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_8, 5);
lean_inc(x_165);
lean_dec_ref(x_8);
x_166 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_166);
lean_dec(x_7);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_6);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_8, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_8, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_8, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_8, 5);
lean_inc(x_310);
lean_dec_ref(x_8);
x_311 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_311);
lean_dec(x_7);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_6);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_InputFileConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_7, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_7, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_7, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_7, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_7, 5);
lean_inc(x_28);
lean_dec_ref(x_7);
x_29 = lean_mk_empty_array_with_capacity(x_8);
lean_inc(x_8);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_8, x_8, x_29);
lean_dec(x_8);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_6);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_7, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_7, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_7, 5);
lean_inc(x_165);
lean_dec_ref(x_7);
x_166 = lean_mk_empty_array_with_capacity(x_8);
lean_inc(x_8);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_8, x_8, x_166);
lean_dec(x_8);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_6);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_7, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_7, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_7, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_7, 5);
lean_inc(x_310);
lean_dec_ref(x_7);
x_311 = lean_mk_empty_array_with_capacity(x_8);
lean_inc(x_8);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_8, x_8, x_311);
lean_dec(x_8);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_6);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_448;
x_8 = x_451;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_448;
x_8 = x_451;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_452;
x_7 = x_448;
x_8 = x_451;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_InputDirConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_8, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_8, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_8, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_8, 5);
lean_inc(x_28);
lean_dec_ref(x_8);
x_29 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_29);
lean_dec(x_6);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_7);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_8, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_8, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_8, 5);
lean_inc(x_165);
lean_dec_ref(x_8);
x_166 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_166);
lean_dec(x_6);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_7);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_8, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_8, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_8, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_8, 5);
lean_inc(x_310);
lean_dec_ref(x_8);
x_311 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_311);
lean_dec(x_6);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_7);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_451;
x_7 = x_452;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_451;
x_7 = x_452;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_451;
x_7 = x_452;
x_8 = x_448;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_WorkspaceConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_8, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_8, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_8, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_8, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_8, 5);
lean_inc(x_28);
lean_dec_ref(x_8);
x_29 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_29);
lean_dec(x_7);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_6);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_8, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_8, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_8, 5);
lean_inc(x_165);
lean_dec_ref(x_8);
x_166 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_166);
lean_dec(x_7);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_6);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_8, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_8, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_8, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_8, 5);
lean_inc(x_310);
lean_dec_ref(x_8);
x_311 = lean_mk_empty_array_with_capacity(x_7);
lean_inc(x_7);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_7, x_7, x_311);
lean_dec(x_7);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_6);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_452;
x_7 = x_451;
x_8 = x_448;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_462; lean_object* x_463; uint8_t x_464; 
x_446 = l_Lake_PackageConfig_instConfigInfo;
x_462 = lean_ctor_get(x_446, 2);
lean_inc(x_462);
x_463 = lean_unsigned_to_nat(0u);
x_464 = lean_nat_dec_eq(x_462, x_463);
if (x_464 == 0)
{
lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; 
x_465 = lean_ctor_get(x_4, 1);
x_466 = lean_ctor_get(x_4, 2);
x_467 = lean_ctor_get(x_4, 5);
x_468 = l_Lean_SourceInfo_fromRef(x_467, x_464);
x_469 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_470 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122;
x_471 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124;
lean_inc(x_466);
lean_inc(x_465);
x_472 = l_Lean_addMacroScope(x_465, x_471, x_466);
x_473 = lean_box(0);
lean_inc(x_468);
x_474 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_474, 0, x_468);
lean_ctor_set(x_474, 1, x_470);
lean_ctor_set(x_474, 2, x_472);
lean_ctor_set(x_474, 3, x_473);
x_475 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_476 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126;
x_477 = l_Lake_Dependency_toToml___closed__12;
x_478 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127;
lean_inc(x_468);
x_479 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_479, 0, x_468);
lean_ctor_set(x_479, 1, x_478);
lean_inc(x_468);
x_480 = l_Lean_Syntax_node1(x_468, x_477, x_479);
lean_inc(x_468);
x_481 = l_Lean_Syntax_node1(x_468, x_476, x_480);
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0;
x_483 = l_Nat_reprFast(x_462);
x_484 = lean_string_append(x_482, x_483);
lean_dec_ref(x_483);
x_485 = lean_box(0);
x_486 = l_Lean_Name_str___override(x_485, x_484);
x_487 = lean_mk_syntax_ident(x_486);
lean_inc(x_468);
x_488 = l_Lean_Syntax_node2(x_468, x_475, x_481, x_487);
x_489 = l_Lean_Syntax_node2(x_468, x_469, x_474, x_488);
x_447 = x_489;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; uint8_t x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; 
lean_dec(x_462);
x_490 = lean_ctor_get(x_4, 1);
x_491 = lean_ctor_get(x_4, 2);
x_492 = lean_ctor_get(x_4, 5);
x_493 = 0;
x_494 = l_Lean_SourceInfo_fromRef(x_492, x_493);
x_495 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_496 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_491);
lean_inc(x_490);
x_497 = l_Lean_addMacroScope(x_490, x_496, x_491);
x_498 = lean_box(0);
x_499 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_499, 0, x_494);
lean_ctor_set(x_499, 1, x_495);
lean_ctor_set(x_499, 2, x_497);
lean_ctor_set(x_499, 3, x_498);
x_447 = x_499;
x_448 = x_4;
x_449 = x_5;
goto block_461;
}
block_445:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13;
lean_inc(x_2);
x_13 = l_Lean_Name_str___override(x_2, x_12);
x_14 = l_Lean_Name_append(x_11, x_13);
x_15 = 0;
x_16 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_14, x_15, x_7, x_10);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_18 = lean_ctor_get(x_16, 0);
x_19 = lean_ctor_get(x_16, 1);
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_21 = l_Lean_Name_str___override(x_2, x_20);
x_22 = l_Lean_Name_append(x_11, x_21);
x_23 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_22, x_15, x_7, x_19);
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; 
x_25 = lean_ctor_get(x_23, 0);
x_26 = lean_ctor_get(x_7, 1);
lean_inc(x_26);
x_27 = lean_ctor_get(x_7, 2);
lean_inc(x_27);
x_28 = lean_ctor_get(x_7, 5);
lean_inc(x_28);
lean_dec_ref(x_7);
x_29 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_30 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_29);
lean_dec(x_6);
x_31 = l_Lean_Syntax_mkCApp(x_2, x_30);
x_32 = l_Lean_SourceInfo_fromRef(x_28, x_15);
lean_dec(x_28);
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_32);
x_37 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_37, 0, x_32);
lean_ctor_set(x_37, 1, x_35);
lean_ctor_set(x_37, 2, x_36);
lean_inc_ref_n(x_37, 7);
lean_inc(x_32);
x_38 = l_Lean_Syntax_node7(x_32, x_34, x_37, x_37, x_37, x_37, x_37, x_37, x_37);
x_39 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_40 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_32);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_40);
lean_ctor_set(x_16, 0, x_32);
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_42 = lean_mk_empty_array_with_capacity(x_8);
x_43 = lean_box(2);
x_44 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_35);
lean_ctor_set(x_44, 2, x_42);
x_45 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_46 = lean_array_push(x_45, x_18);
x_47 = lean_array_push(x_46, x_44);
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_43);
lean_ctor_set(x_48, 1, x_41);
lean_ctor_set(x_48, 2, x_47);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_50 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_51 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_32);
x_52 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_52, 0, x_32);
lean_ctor_set(x_52, 1, x_51);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_27);
lean_inc(x_26);
x_55 = l_Lean_addMacroScope(x_26, x_54, x_27);
x_56 = lean_box(0);
lean_inc(x_32);
x_57 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_57, 0, x_32);
lean_ctor_set(x_57, 1, x_53);
lean_ctor_set(x_57, 2, x_55);
lean_ctor_set(x_57, 3, x_56);
lean_inc(x_32);
x_58 = l_Lean_Syntax_node1(x_32, x_35, x_57);
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_32);
x_60 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_60, 0, x_32);
lean_ctor_set(x_60, 1, x_59);
lean_inc(x_31);
lean_inc_ref(x_60);
lean_inc(x_32);
x_61 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_31);
x_62 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_32);
x_63 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_63, 0, x_32);
lean_ctor_set(x_63, 1, x_62);
lean_inc_ref(x_63);
lean_inc_ref(x_37);
lean_inc_ref(x_52);
lean_inc(x_32);
x_64 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_58, x_61, x_37, x_63);
x_65 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_27);
lean_inc(x_26);
x_67 = l_Lean_addMacroScope(x_26, x_66, x_27);
lean_inc(x_32);
x_68 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_68, 0, x_32);
lean_ctor_set(x_68, 1, x_65);
lean_ctor_set(x_68, 2, x_67);
lean_ctor_set(x_68, 3, x_56);
lean_inc(x_32);
x_69 = l_Lean_Syntax_node1(x_32, x_35, x_68);
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_71 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_27);
lean_inc(x_26);
x_72 = l_Lean_addMacroScope(x_26, x_71, x_27);
x_73 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_32);
x_74 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_74, 0, x_32);
lean_ctor_set(x_74, 1, x_70);
lean_ctor_set(x_74, 2, x_72);
lean_ctor_set(x_74, 3, x_73);
lean_inc_ref(x_60);
lean_inc(x_32);
x_75 = l_Lean_Syntax_node2(x_32, x_35, x_60, x_74);
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_32);
x_78 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_78, 0, x_32);
lean_ctor_set(x_78, 1, x_77);
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_81 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_32);
x_82 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_82, 0, x_32);
lean_ctor_set(x_82, 1, x_81);
x_83 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_32);
x_84 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_84, 0, x_32);
lean_ctor_set(x_84, 1, x_83);
lean_inc_ref(x_84);
lean_inc_ref(x_82);
lean_inc(x_32);
x_85 = l_Lean_Syntax_node2(x_32, x_80, x_82, x_84);
x_86 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_87 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_37);
lean_inc(x_32);
x_88 = l_Lean_Syntax_node1(x_32, x_87, x_37);
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_37);
lean_inc(x_32);
x_90 = l_Lean_Syntax_node1(x_32, x_89, x_37);
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_91 = l_Lean_Syntax_node6(x_32, x_86, x_82, x_37, x_88, x_90, x_37, x_84);
lean_inc(x_32);
x_92 = l_Lean_Syntax_node2(x_32, x_79, x_85, x_91);
lean_inc_ref(x_78);
lean_inc(x_32);
x_93 = l_Lean_Syntax_node2(x_32, x_76, x_78, x_92);
lean_inc(x_32);
x_94 = l_Lean_Syntax_node1(x_32, x_35, x_93);
lean_inc_ref(x_63);
lean_inc_ref(x_52);
lean_inc(x_32);
x_95 = l_Lean_Syntax_node5(x_32, x_50, x_52, x_69, x_75, x_94, x_63);
lean_inc(x_32);
x_96 = l_Lean_Syntax_node2(x_32, x_35, x_64, x_95);
lean_inc_ref(x_37);
lean_inc(x_32);
x_97 = l_Lean_Syntax_node2(x_32, x_49, x_96, x_37);
x_98 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_99 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_37, 2);
lean_inc(x_32);
x_100 = l_Lean_Syntax_node2(x_32, x_99, x_37, x_37);
lean_inc_ref(x_37);
lean_inc(x_100);
lean_inc_ref(x_78);
lean_inc(x_32);
x_101 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_9, x_100, x_37);
lean_inc_ref(x_37);
lean_inc(x_32);
x_102 = l_Lean_Syntax_node5(x_32, x_39, x_16, x_48, x_97, x_101, x_37);
lean_inc(x_38);
lean_inc(x_32);
x_103 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_102);
x_104 = lean_array_push(x_1, x_103);
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_106 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_37);
lean_inc(x_32);
x_108 = l_Lean_Syntax_node1(x_32, x_107, x_37);
lean_inc(x_32);
x_109 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_109, 0, x_32);
lean_ctor_set(x_109, 1, x_105);
lean_inc_ref(x_37);
lean_inc(x_32);
x_110 = l_Lean_Syntax_node2(x_32, x_41, x_25, x_37);
lean_inc(x_32);
x_111 = l_Lean_Syntax_node1(x_32, x_35, x_110);
x_112 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_115 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_116 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_27);
lean_inc(x_26);
x_117 = l_Lean_addMacroScope(x_26, x_116, x_27);
x_118 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_32);
x_119 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_119, 0, x_32);
lean_ctor_set(x_119, 1, x_115);
lean_ctor_set(x_119, 2, x_117);
lean_ctor_set(x_119, 3, x_118);
lean_inc(x_32);
x_120 = l_Lean_Syntax_node1(x_32, x_35, x_31);
lean_inc(x_32);
x_121 = l_Lean_Syntax_node2(x_32, x_114, x_119, x_120);
lean_inc(x_32);
x_122 = l_Lean_Syntax_node2(x_32, x_113, x_60, x_121);
lean_inc_ref(x_37);
lean_inc(x_32);
x_123 = l_Lean_Syntax_node2(x_32, x_112, x_37, x_122);
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_125 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_32);
x_126 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_126, 0, x_32);
lean_ctor_set(x_126, 1, x_125);
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_130 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_131 = lean_box(0);
lean_inc(x_27);
lean_inc(x_26);
x_132 = l_Lean_addMacroScope(x_26, x_131, x_27);
x_133 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_32);
x_134 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_134, 0, x_32);
lean_ctor_set(x_134, 1, x_130);
lean_ctor_set(x_134, 2, x_132);
lean_ctor_set(x_134, 3, x_133);
lean_inc(x_32);
x_135 = l_Lean_Syntax_node1(x_32, x_129, x_134);
lean_inc(x_135);
lean_inc(x_32);
x_136 = l_Lean_Syntax_node2(x_32, x_128, x_52, x_135);
x_137 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_139 = l_Lean_addMacroScope(x_26, x_138, x_27);
x_140 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_32);
x_141 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_141, 0, x_32);
lean_ctor_set(x_141, 1, x_137);
lean_ctor_set(x_141, 2, x_139);
lean_ctor_set(x_141, 3, x_140);
x_142 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_32);
x_145 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_145, 0, x_32);
lean_ctor_set(x_145, 1, x_144);
lean_inc(x_32);
x_146 = l_Lean_Syntax_node2(x_32, x_143, x_145, x_135);
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_32);
x_148 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_148, 0, x_32);
lean_ctor_set(x_148, 1, x_147);
lean_inc_ref(x_141);
lean_inc(x_32);
x_149 = l_Lean_Syntax_node3(x_32, x_142, x_146, x_148, x_141);
lean_inc(x_32);
x_150 = l_Lean_Syntax_node1(x_32, x_35, x_149);
lean_inc(x_32);
x_151 = l_Lean_Syntax_node2(x_32, x_114, x_141, x_150);
lean_inc(x_32);
x_152 = l_Lean_Syntax_node3(x_32, x_127, x_136, x_151, x_63);
lean_inc(x_32);
x_153 = l_Lean_Syntax_node1(x_32, x_35, x_152);
x_154 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_32);
x_155 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_155, 0, x_32);
lean_ctor_set(x_155, 1, x_154);
lean_inc(x_32);
x_156 = l_Lean_Syntax_node3(x_32, x_124, x_126, x_153, x_155);
lean_inc_ref(x_37);
lean_inc(x_32);
x_157 = l_Lean_Syntax_node4(x_32, x_98, x_78, x_156, x_100, x_37);
lean_inc(x_32);
x_158 = l_Lean_Syntax_node6(x_32, x_106, x_108, x_109, x_37, x_111, x_123, x_157);
x_159 = l_Lean_Syntax_node2(x_32, x_33, x_38, x_158);
x_160 = lean_array_push(x_104, x_159);
lean_ctor_set(x_23, 0, x_160);
return x_23;
}
else
{
lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; 
x_161 = lean_ctor_get(x_23, 0);
x_162 = lean_ctor_get(x_23, 1);
lean_inc(x_162);
lean_inc(x_161);
lean_dec(x_23);
x_163 = lean_ctor_get(x_7, 1);
lean_inc(x_163);
x_164 = lean_ctor_get(x_7, 2);
lean_inc(x_164);
x_165 = lean_ctor_get(x_7, 5);
lean_inc(x_165);
lean_dec_ref(x_7);
x_166 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_167 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_166);
lean_dec(x_6);
x_168 = l_Lean_Syntax_mkCApp(x_2, x_167);
x_169 = l_Lean_SourceInfo_fromRef(x_165, x_15);
lean_dec(x_165);
x_170 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_171 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_169);
x_174 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_174, 0, x_169);
lean_ctor_set(x_174, 1, x_172);
lean_ctor_set(x_174, 2, x_173);
lean_inc_ref_n(x_174, 7);
lean_inc(x_169);
x_175 = l_Lean_Syntax_node7(x_169, x_171, x_174, x_174, x_174, x_174, x_174, x_174, x_174);
x_176 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_177 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_169);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_177);
lean_ctor_set(x_16, 0, x_169);
x_178 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_179 = lean_mk_empty_array_with_capacity(x_8);
x_180 = lean_box(2);
x_181 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
lean_ctor_set(x_181, 2, x_179);
x_182 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_183 = lean_array_push(x_182, x_18);
x_184 = lean_array_push(x_183, x_181);
x_185 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_185, 0, x_180);
lean_ctor_set(x_185, 1, x_178);
lean_ctor_set(x_185, 2, x_184);
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_169);
x_189 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_189, 0, x_169);
lean_ctor_set(x_189, 1, x_188);
x_190 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_164);
lean_inc(x_163);
x_192 = l_Lean_addMacroScope(x_163, x_191, x_164);
x_193 = lean_box(0);
lean_inc(x_169);
x_194 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_194, 0, x_169);
lean_ctor_set(x_194, 1, x_190);
lean_ctor_set(x_194, 2, x_192);
lean_ctor_set(x_194, 3, x_193);
lean_inc(x_169);
x_195 = l_Lean_Syntax_node1(x_169, x_172, x_194);
x_196 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_169);
x_197 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_197, 0, x_169);
lean_ctor_set(x_197, 1, x_196);
lean_inc(x_168);
lean_inc_ref(x_197);
lean_inc(x_169);
x_198 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_168);
x_199 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_169);
x_200 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_200, 0, x_169);
lean_ctor_set(x_200, 1, x_199);
lean_inc_ref(x_200);
lean_inc_ref(x_174);
lean_inc_ref(x_189);
lean_inc(x_169);
x_201 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_195, x_198, x_174, x_200);
x_202 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_164);
lean_inc(x_163);
x_204 = l_Lean_addMacroScope(x_163, x_203, x_164);
lean_inc(x_169);
x_205 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_205, 0, x_169);
lean_ctor_set(x_205, 1, x_202);
lean_ctor_set(x_205, 2, x_204);
lean_ctor_set(x_205, 3, x_193);
lean_inc(x_169);
x_206 = l_Lean_Syntax_node1(x_169, x_172, x_205);
x_207 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_208 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_164);
lean_inc(x_163);
x_209 = l_Lean_addMacroScope(x_163, x_208, x_164);
x_210 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_169);
x_211 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_211, 0, x_169);
lean_ctor_set(x_211, 1, x_207);
lean_ctor_set(x_211, 2, x_209);
lean_ctor_set(x_211, 3, x_210);
lean_inc_ref(x_197);
lean_inc(x_169);
x_212 = l_Lean_Syntax_node2(x_169, x_172, x_197, x_211);
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_214 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_169);
x_215 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_215, 0, x_169);
lean_ctor_set(x_215, 1, x_214);
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_217 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_218 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_169);
x_219 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_219, 0, x_169);
lean_ctor_set(x_219, 1, x_218);
x_220 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_169);
x_221 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_221, 0, x_169);
lean_ctor_set(x_221, 1, x_220);
lean_inc_ref(x_221);
lean_inc_ref(x_219);
lean_inc(x_169);
x_222 = l_Lean_Syntax_node2(x_169, x_217, x_219, x_221);
x_223 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_224 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_174);
lean_inc(x_169);
x_225 = l_Lean_Syntax_node1(x_169, x_224, x_174);
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_174);
lean_inc(x_169);
x_227 = l_Lean_Syntax_node1(x_169, x_226, x_174);
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_228 = l_Lean_Syntax_node6(x_169, x_223, x_219, x_174, x_225, x_227, x_174, x_221);
lean_inc(x_169);
x_229 = l_Lean_Syntax_node2(x_169, x_216, x_222, x_228);
lean_inc_ref(x_215);
lean_inc(x_169);
x_230 = l_Lean_Syntax_node2(x_169, x_213, x_215, x_229);
lean_inc(x_169);
x_231 = l_Lean_Syntax_node1(x_169, x_172, x_230);
lean_inc_ref(x_200);
lean_inc_ref(x_189);
lean_inc(x_169);
x_232 = l_Lean_Syntax_node5(x_169, x_187, x_189, x_206, x_212, x_231, x_200);
lean_inc(x_169);
x_233 = l_Lean_Syntax_node2(x_169, x_172, x_201, x_232);
lean_inc_ref(x_174);
lean_inc(x_169);
x_234 = l_Lean_Syntax_node2(x_169, x_186, x_233, x_174);
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_236 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_174, 2);
lean_inc(x_169);
x_237 = l_Lean_Syntax_node2(x_169, x_236, x_174, x_174);
lean_inc_ref(x_174);
lean_inc(x_237);
lean_inc_ref(x_215);
lean_inc(x_169);
x_238 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_9, x_237, x_174);
lean_inc_ref(x_174);
lean_inc(x_169);
x_239 = l_Lean_Syntax_node5(x_169, x_176, x_16, x_185, x_234, x_238, x_174);
lean_inc(x_175);
lean_inc(x_169);
x_240 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_239);
x_241 = lean_array_push(x_1, x_240);
x_242 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_243 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_244 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_174);
lean_inc(x_169);
x_245 = l_Lean_Syntax_node1(x_169, x_244, x_174);
lean_inc(x_169);
x_246 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_246, 0, x_169);
lean_ctor_set(x_246, 1, x_242);
lean_inc_ref(x_174);
lean_inc(x_169);
x_247 = l_Lean_Syntax_node2(x_169, x_178, x_161, x_174);
lean_inc(x_169);
x_248 = l_Lean_Syntax_node1(x_169, x_172, x_247);
x_249 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_164);
lean_inc(x_163);
x_254 = l_Lean_addMacroScope(x_163, x_253, x_164);
x_255 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_169);
x_256 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_256, 0, x_169);
lean_ctor_set(x_256, 1, x_252);
lean_ctor_set(x_256, 2, x_254);
lean_ctor_set(x_256, 3, x_255);
lean_inc(x_169);
x_257 = l_Lean_Syntax_node1(x_169, x_172, x_168);
lean_inc(x_169);
x_258 = l_Lean_Syntax_node2(x_169, x_251, x_256, x_257);
lean_inc(x_169);
x_259 = l_Lean_Syntax_node2(x_169, x_250, x_197, x_258);
lean_inc_ref(x_174);
lean_inc(x_169);
x_260 = l_Lean_Syntax_node2(x_169, x_249, x_174, x_259);
x_261 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_169);
x_263 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_263, 0, x_169);
lean_ctor_set(x_263, 1, x_262);
x_264 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_265 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_266 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_267 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_268 = lean_box(0);
lean_inc(x_164);
lean_inc(x_163);
x_269 = l_Lean_addMacroScope(x_163, x_268, x_164);
x_270 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_169);
x_271 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_271, 0, x_169);
lean_ctor_set(x_271, 1, x_267);
lean_ctor_set(x_271, 2, x_269);
lean_ctor_set(x_271, 3, x_270);
lean_inc(x_169);
x_272 = l_Lean_Syntax_node1(x_169, x_266, x_271);
lean_inc(x_272);
lean_inc(x_169);
x_273 = l_Lean_Syntax_node2(x_169, x_265, x_189, x_272);
x_274 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_276 = l_Lean_addMacroScope(x_163, x_275, x_164);
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_169);
x_278 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_278, 0, x_169);
lean_ctor_set(x_278, 1, x_274);
lean_ctor_set(x_278, 2, x_276);
lean_ctor_set(x_278, 3, x_277);
x_279 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_280 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_281 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_169);
x_282 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_282, 0, x_169);
lean_ctor_set(x_282, 1, x_281);
lean_inc(x_169);
x_283 = l_Lean_Syntax_node2(x_169, x_280, x_282, x_272);
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_169);
x_285 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_285, 0, x_169);
lean_ctor_set(x_285, 1, x_284);
lean_inc_ref(x_278);
lean_inc(x_169);
x_286 = l_Lean_Syntax_node3(x_169, x_279, x_283, x_285, x_278);
lean_inc(x_169);
x_287 = l_Lean_Syntax_node1(x_169, x_172, x_286);
lean_inc(x_169);
x_288 = l_Lean_Syntax_node2(x_169, x_251, x_278, x_287);
lean_inc(x_169);
x_289 = l_Lean_Syntax_node3(x_169, x_264, x_273, x_288, x_200);
lean_inc(x_169);
x_290 = l_Lean_Syntax_node1(x_169, x_172, x_289);
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_169);
x_292 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_292, 0, x_169);
lean_ctor_set(x_292, 1, x_291);
lean_inc(x_169);
x_293 = l_Lean_Syntax_node3(x_169, x_261, x_263, x_290, x_292);
lean_inc_ref(x_174);
lean_inc(x_169);
x_294 = l_Lean_Syntax_node4(x_169, x_235, x_215, x_293, x_237, x_174);
lean_inc(x_169);
x_295 = l_Lean_Syntax_node6(x_169, x_243, x_245, x_246, x_174, x_248, x_260, x_294);
x_296 = l_Lean_Syntax_node2(x_169, x_170, x_175, x_295);
x_297 = lean_array_push(x_241, x_296);
x_298 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_298, 0, x_297);
lean_ctor_set(x_298, 1, x_162);
return x_298;
}
}
else
{
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; 
x_299 = lean_ctor_get(x_16, 0);
x_300 = lean_ctor_get(x_16, 1);
lean_inc(x_300);
lean_inc(x_299);
lean_dec(x_16);
x_301 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14;
lean_inc(x_2);
x_302 = l_Lean_Name_str___override(x_2, x_301);
x_303 = l_Lean_Name_append(x_11, x_302);
x_304 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_303, x_15, x_7, x_300);
x_305 = lean_ctor_get(x_304, 0);
lean_inc(x_305);
x_306 = lean_ctor_get(x_304, 1);
lean_inc(x_306);
if (lean_is_exclusive(x_304)) {
 lean_ctor_release(x_304, 0);
 lean_ctor_release(x_304, 1);
 x_307 = x_304;
} else {
 lean_dec_ref(x_304);
 x_307 = lean_box(0);
}
x_308 = lean_ctor_get(x_7, 1);
lean_inc(x_308);
x_309 = lean_ctor_get(x_7, 2);
lean_inc(x_309);
x_310 = lean_ctor_get(x_7, 5);
lean_inc(x_310);
lean_dec_ref(x_7);
x_311 = lean_mk_empty_array_with_capacity(x_6);
lean_inc(x_6);
x_312 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_6, x_6, x_311);
lean_dec(x_6);
x_313 = l_Lean_Syntax_mkCApp(x_2, x_312);
x_314 = l_Lean_SourceInfo_fromRef(x_310, x_15);
lean_dec(x_310);
x_315 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17;
x_316 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19;
x_317 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_318 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20;
lean_inc(x_314);
x_319 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_319, 0, x_314);
lean_ctor_set(x_319, 1, x_317);
lean_ctor_set(x_319, 2, x_318);
lean_inc_ref_n(x_319, 7);
lean_inc(x_314);
x_320 = l_Lean_Syntax_node7(x_314, x_316, x_319, x_319, x_319, x_319, x_319, x_319, x_319);
x_321 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22;
x_322 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23;
lean_inc(x_314);
x_323 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_323, 0, x_314);
lean_ctor_set(x_323, 1, x_322);
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25;
x_325 = lean_mk_empty_array_with_capacity(x_8);
x_326 = lean_box(2);
x_327 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_317);
lean_ctor_set(x_327, 2, x_325);
x_328 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26;
x_329 = lean_array_push(x_328, x_299);
x_330 = lean_array_push(x_329, x_327);
x_331 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_331, 0, x_326);
lean_ctor_set(x_331, 1, x_324);
lean_ctor_set(x_331, 2, x_330);
x_332 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28;
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30;
x_334 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31;
lean_inc(x_314);
x_335 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_335, 0, x_314);
lean_ctor_set(x_335, 1, x_334);
x_336 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12;
x_337 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13;
lean_inc(x_309);
lean_inc(x_308);
x_338 = l_Lean_addMacroScope(x_308, x_337, x_309);
x_339 = lean_box(0);
lean_inc(x_314);
x_340 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_340, 0, x_314);
lean_ctor_set(x_340, 1, x_336);
lean_ctor_set(x_340, 2, x_338);
lean_ctor_set(x_340, 3, x_339);
lean_inc(x_314);
x_341 = l_Lean_Syntax_node1(x_314, x_317, x_340);
x_342 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32;
lean_inc(x_314);
x_343 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_343, 0, x_314);
lean_ctor_set(x_343, 1, x_342);
lean_inc(x_313);
lean_inc_ref(x_343);
lean_inc(x_314);
x_344 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_313);
x_345 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33;
lean_inc(x_314);
x_346 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_346, 0, x_314);
lean_ctor_set(x_346, 1, x_345);
lean_inc_ref(x_346);
lean_inc_ref(x_319);
lean_inc_ref(x_335);
lean_inc(x_314);
x_347 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_341, x_344, x_319, x_346);
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35;
x_349 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36;
lean_inc(x_309);
lean_inc(x_308);
x_350 = l_Lean_addMacroScope(x_308, x_349, x_309);
lean_inc(x_314);
x_351 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_351, 0, x_314);
lean_ctor_set(x_351, 1, x_348);
lean_ctor_set(x_351, 2, x_350);
lean_ctor_set(x_351, 3, x_339);
lean_inc(x_314);
x_352 = l_Lean_Syntax_node1(x_314, x_317, x_351);
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38;
x_354 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39;
lean_inc(x_309);
lean_inc(x_308);
x_355 = l_Lean_addMacroScope(x_308, x_354, x_309);
x_356 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46;
lean_inc(x_314);
x_357 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_357, 0, x_314);
lean_ctor_set(x_357, 1, x_353);
lean_ctor_set(x_357, 2, x_355);
lean_ctor_set(x_357, 3, x_356);
lean_inc_ref(x_343);
lean_inc(x_314);
x_358 = l_Lean_Syntax_node2(x_314, x_317, x_343, x_357);
x_359 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48;
x_360 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49;
lean_inc(x_314);
x_361 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_361, 0, x_314);
lean_ctor_set(x_361, 1, x_360);
x_362 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51;
x_363 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53;
x_364 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54;
lean_inc(x_314);
x_365 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_365, 0, x_314);
lean_ctor_set(x_365, 1, x_364);
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55;
lean_inc(x_314);
x_367 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_367, 0, x_314);
lean_ctor_set(x_367, 1, x_366);
lean_inc_ref(x_367);
lean_inc_ref(x_365);
lean_inc(x_314);
x_368 = l_Lean_Syntax_node2(x_314, x_363, x_365, x_367);
x_369 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59;
lean_inc_ref(x_319);
lean_inc(x_314);
x_371 = l_Lean_Syntax_node1(x_314, x_370, x_319);
x_372 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61;
lean_inc_ref(x_319);
lean_inc(x_314);
x_373 = l_Lean_Syntax_node1(x_314, x_372, x_319);
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_374 = l_Lean_Syntax_node6(x_314, x_369, x_365, x_319, x_371, x_373, x_319, x_367);
lean_inc(x_314);
x_375 = l_Lean_Syntax_node2(x_314, x_362, x_368, x_374);
lean_inc_ref(x_361);
lean_inc(x_314);
x_376 = l_Lean_Syntax_node2(x_314, x_359, x_361, x_375);
lean_inc(x_314);
x_377 = l_Lean_Syntax_node1(x_314, x_317, x_376);
lean_inc_ref(x_346);
lean_inc_ref(x_335);
lean_inc(x_314);
x_378 = l_Lean_Syntax_node5(x_314, x_333, x_335, x_352, x_358, x_377, x_346);
lean_inc(x_314);
x_379 = l_Lean_Syntax_node2(x_314, x_317, x_347, x_378);
lean_inc_ref(x_319);
lean_inc(x_314);
x_380 = l_Lean_Syntax_node2(x_314, x_332, x_379, x_319);
x_381 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63;
x_382 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66;
lean_inc_ref_n(x_319, 2);
lean_inc(x_314);
x_383 = l_Lean_Syntax_node2(x_314, x_382, x_319, x_319);
lean_inc_ref(x_319);
lean_inc(x_383);
lean_inc_ref(x_361);
lean_inc(x_314);
x_384 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_9, x_383, x_319);
lean_inc_ref(x_319);
lean_inc(x_314);
x_385 = l_Lean_Syntax_node5(x_314, x_321, x_323, x_331, x_380, x_384, x_319);
lean_inc(x_320);
lean_inc(x_314);
x_386 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_385);
x_387 = lean_array_push(x_1, x_386);
x_388 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67;
x_389 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70;
lean_inc_ref(x_319);
lean_inc(x_314);
x_391 = l_Lean_Syntax_node1(x_314, x_390, x_319);
lean_inc(x_314);
x_392 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_392, 0, x_314);
lean_ctor_set(x_392, 1, x_388);
lean_inc_ref(x_319);
lean_inc(x_314);
x_393 = l_Lean_Syntax_node2(x_314, x_324, x_305, x_319);
lean_inc(x_314);
x_394 = l_Lean_Syntax_node1(x_314, x_317, x_393);
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72;
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74;
x_397 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76;
x_398 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78;
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79;
lean_inc(x_309);
lean_inc(x_308);
x_400 = l_Lean_addMacroScope(x_308, x_399, x_309);
x_401 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84;
lean_inc(x_314);
x_402 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_402, 0, x_314);
lean_ctor_set(x_402, 1, x_398);
lean_ctor_set(x_402, 2, x_400);
lean_ctor_set(x_402, 3, x_401);
lean_inc(x_314);
x_403 = l_Lean_Syntax_node1(x_314, x_317, x_313);
lean_inc(x_314);
x_404 = l_Lean_Syntax_node2(x_314, x_397, x_402, x_403);
lean_inc(x_314);
x_405 = l_Lean_Syntax_node2(x_314, x_396, x_343, x_404);
lean_inc_ref(x_319);
lean_inc(x_314);
x_406 = l_Lean_Syntax_node2(x_314, x_395, x_319, x_405);
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86;
x_408 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87;
lean_inc(x_314);
x_409 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_409, 0, x_314);
lean_ctor_set(x_409, 1, x_408);
x_410 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89;
x_411 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91;
x_412 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93;
x_413 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94;
x_414 = lean_box(0);
lean_inc(x_309);
lean_inc(x_308);
x_415 = l_Lean_addMacroScope(x_308, x_414, x_309);
x_416 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107;
lean_inc(x_314);
x_417 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_417, 0, x_314);
lean_ctor_set(x_417, 1, x_413);
lean_ctor_set(x_417, 2, x_415);
lean_ctor_set(x_417, 3, x_416);
lean_inc(x_314);
x_418 = l_Lean_Syntax_node1(x_314, x_412, x_417);
lean_inc(x_418);
lean_inc(x_314);
x_419 = l_Lean_Syntax_node2(x_314, x_411, x_335, x_418);
x_420 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108;
x_421 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109;
x_422 = l_Lean_addMacroScope(x_308, x_421, x_309);
x_423 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112;
lean_inc(x_314);
x_424 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_424, 0, x_314);
lean_ctor_set(x_424, 1, x_420);
lean_ctor_set(x_424, 2, x_422);
lean_ctor_set(x_424, 3, x_423);
x_425 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114;
x_426 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116;
x_427 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117;
lean_inc(x_314);
x_428 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_428, 0, x_314);
lean_ctor_set(x_428, 1, x_427);
lean_inc(x_314);
x_429 = l_Lean_Syntax_node2(x_314, x_426, x_428, x_418);
x_430 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118;
lean_inc(x_314);
x_431 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_431, 0, x_314);
lean_ctor_set(x_431, 1, x_430);
lean_inc_ref(x_424);
lean_inc(x_314);
x_432 = l_Lean_Syntax_node3(x_314, x_425, x_429, x_431, x_424);
lean_inc(x_314);
x_433 = l_Lean_Syntax_node1(x_314, x_317, x_432);
lean_inc(x_314);
x_434 = l_Lean_Syntax_node2(x_314, x_397, x_424, x_433);
lean_inc(x_314);
x_435 = l_Lean_Syntax_node3(x_314, x_410, x_419, x_434, x_346);
lean_inc(x_314);
x_436 = l_Lean_Syntax_node1(x_314, x_317, x_435);
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119;
lean_inc(x_314);
x_438 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_438, 0, x_314);
lean_ctor_set(x_438, 1, x_437);
lean_inc(x_314);
x_439 = l_Lean_Syntax_node3(x_314, x_407, x_409, x_436, x_438);
lean_inc_ref(x_319);
lean_inc(x_314);
x_440 = l_Lean_Syntax_node4(x_314, x_381, x_361, x_439, x_383, x_319);
lean_inc(x_314);
x_441 = l_Lean_Syntax_node6(x_314, x_389, x_391, x_392, x_319, x_394, x_406, x_440);
x_442 = l_Lean_Syntax_node2(x_314, x_315, x_320, x_441);
x_443 = lean_array_push(x_387, x_442);
if (lean_is_scalar(x_307)) {
 x_444 = lean_alloc_ctor(0, 2, 0);
} else {
 x_444 = x_307;
}
lean_ctor_set(x_444, 0, x_443);
lean_ctor_set(x_444, 1, x_306);
return x_444;
}
}
block_461:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; uint8_t x_454; 
x_450 = lean_ctor_get(x_446, 0);
lean_inc_ref(x_450);
x_451 = lean_ctor_get(x_446, 2);
lean_inc(x_451);
x_452 = lean_unsigned_to_nat(0u);
x_453 = lean_array_get_size(x_450);
x_454 = lean_nat_dec_lt(x_452, x_453);
if (x_454 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_451;
x_7 = x_448;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
uint8_t x_455; 
x_455 = lean_nat_dec_le(x_453, x_453);
if (x_455 == 0)
{
lean_dec(x_453);
lean_dec_ref(x_450);
x_6 = x_451;
x_7 = x_448;
x_8 = x_452;
x_9 = x_447;
x_10 = x_449;
goto block_445;
}
else
{
size_t x_456; size_t x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; 
x_456 = 0;
x_457 = lean_usize_of_nat(x_453);
lean_dec(x_453);
lean_inc_ref(x_448);
x_458 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_3, x_450, x_456, x_457, x_447, x_448, x_449);
lean_dec_ref(x_450);
x_459 = lean_ctor_get(x_458, 0);
lean_inc(x_459);
x_460 = lean_ctor_get(x_458, 1);
lean_inc(x_460);
lean_dec_ref(x_458);
x_6 = x_451;
x_7 = x_448;
x_8 = x_452;
x_9 = x_459;
x_10 = x_460;
goto block_445;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11;
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec_ref(x_2);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; 
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0;
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2;
lean_inc_ref(x_2);
x_10 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0(x_8, x_9, x_8, x_2, x_3);
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_10, 1);
lean_inc(x_12);
lean_dec_ref(x_10);
x_13 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4;
x_14 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8;
lean_inc_ref(x_2);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6(x_11, x_13, x_14, x_2, x_12);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_15, 1);
lean_inc(x_17);
lean_dec_ref(x_15);
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10;
lean_inc_ref(x_2);
x_19 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7(x_16, x_18, x_14, x_2, x_17);
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec_ref(x_19);
x_22 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12;
lean_inc_ref(x_2);
x_23 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8(x_20, x_22, x_8, x_2, x_21);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
x_25 = lean_ctor_get(x_23, 1);
lean_inc(x_25);
lean_dec_ref(x_23);
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14;
lean_inc_ref(x_2);
x_27 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9(x_24, x_26, x_8, x_2, x_25);
x_28 = lean_ctor_get(x_27, 0);
lean_inc(x_28);
x_29 = lean_ctor_get(x_27, 1);
lean_inc(x_29);
lean_dec_ref(x_27);
x_30 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16;
lean_inc_ref(x_2);
x_31 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10(x_28, x_30, x_8, x_2, x_29);
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
x_33 = lean_ctor_get(x_31, 1);
lean_inc(x_33);
lean_dec_ref(x_31);
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18;
x_35 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11(x_32, x_34, x_8, x_2, x_33);
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_37 = lean_ctor_get(x_35, 0);
x_38 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_39 = lean_box(2);
x_40 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_38);
lean_ctor_set(x_40, 2, x_37);
lean_ctor_set(x_35, 0, x_40);
return x_35;
}
else
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_41 = lean_ctor_get(x_35, 0);
x_42 = lean_ctor_get(x_35, 1);
lean_inc(x_42);
lean_inc(x_41);
lean_dec(x_35);
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10;
x_44 = lean_box(2);
x_45 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_43);
lean_ctor_set(x_45, 2, x_41);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_42);
return x_46;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3(x_1, x_2, x_3, x_4);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; lean_object* x_6; 
x_5 = lean_unbox(x_2);
x_6 = l_Lean_mkIdentFromRef___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__2(x_1, x_5, x_3, x_4);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0(x_1, x_2);
lean_dec(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; 
x_5 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_6 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__0_spec__0(x_1, x_2, x_5, x_6);
lean_dec_ref(x_2);
lean_dec(x_1);
x_8 = lean_box(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__3___redArg(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
size_t x_8; size_t x_9; lean_object* x_10; 
x_8 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_9 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_10 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0_spec__4(x_1, x_2, x_8, x_9, x_5, x_6, x_7);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_10;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__10(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__11(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__6(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__7(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__8(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___at___00__private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1_spec__9(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_3);
return x_6;
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 1)
{
lean_dec(x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = lean_nat_sub(x_3, x_6);
lean_dec(x_3);
x_8 = lean_array_fget_borrowed(x_1, x_7);
x_9 = lean_array_fget_borrowed(x_2, x_7);
x_10 = lean_string_dec_eq(x_8, x_9);
if (x_10 == 0)
{
lean_dec(x_7);
return x_10;
}
else
{
x_3 = x_7;
goto _start;
}
}
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_1, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_PartialBuildKey_toString(x_5);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_PartialBuildKey_toString(x_5);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_buildType___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("plugins", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_plugins___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("dynlibs", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_dynlibs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("platformIndependent", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_platformIndependent___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("backend", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_backend___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("weakLinkArgs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_weakLinkArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreLinkArgs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreLinkArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreLinkLibs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreLinkLibs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreLinkObjs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreLinkObjs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("weakLeancArgs", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_weakLeancArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreServerOptions", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreServerOptions___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreLeancArgs", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreLeancArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("weakLeanArgs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_weakLeanArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreLeanArgs", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_moreLeanArgs___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("leanOptions", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_LeanConfig_leanOptions___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("buildType", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_20; lean_object* x_21; lean_object* x_34; lean_object* x_35; lean_object* x_46; lean_object* x_47; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_74; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_96; lean_object* x_107; lean_object* x_108; lean_object* x_121; lean_object* x_122; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_146; lean_object* x_157; lean_object* x_158; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_180; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_202; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_224; lean_object* x_235; lean_object* x_236; lean_object* x_247; lean_object* x_248; uint8_t x_249; uint8_t x_250; uint8_t x_251; 
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0;
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 3);
lean_inc(x_5);
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2;
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5;
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8;
x_46 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11;
x_63 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14;
x_85 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17;
x_107 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20;
x_121 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23;
x_135 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26;
x_157 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29;
x_169 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32;
x_191 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35;
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38;
x_235 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41;
lean_inc_ref(x_1);
x_247 = lean_apply_1(x_4, x_1);
lean_inc_ref(x_1);
x_248 = lean_apply_1(x_5, x_1);
x_249 = lean_unbox(x_247);
x_250 = lean_unbox(x_248);
x_251 = l_Lake_instDecidableEqBuildType(x_249, x_250);
if (x_251 == 0)
{
lean_object* x_252; lean_object* x_253; uint8_t x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; 
x_252 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44;
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_254 = lean_unbox(x_247);
x_255 = l_Lake_BuildType_toString(x_254);
x_256 = lean_box(0);
x_257 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_257, 0, x_256);
lean_ctor_set(x_257, 1, x_255);
x_258 = l_Lake_Toml_RBDict_insert___redArg(x_253, x_252, x_257, x_2);
x_236 = x_258;
goto block_246;
}
else
{
x_236 = x_2;
goto block_246;
}
block_19:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3;
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_apply_1(x_9, x_1);
x_11 = l_Array_isEmpty___redArg(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_13 = lean_box(0);
x_14 = lean_array_size(x_10);
x_15 = 0;
x_16 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_14, x_15, x_10);
x_17 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_17, 0, x_13);
lean_ctor_set(x_17, 1, x_16);
x_18 = l_Lake_Toml_RBDict_insert___redArg(x_12, x_6, x_17, x_7);
return x_18;
}
else
{
lean_dec_ref(x_10);
return x_7;
}
}
block_33:
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_22 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6;
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
lean_inc_ref(x_1);
x_24 = lean_apply_1(x_23, x_1);
x_25 = l_Array_isEmpty___redArg(x_24);
if (x_25 == 0)
{
lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_27 = lean_box(0);
x_28 = lean_array_size(x_24);
x_29 = 0;
x_30 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_28, x_29, x_24);
x_31 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_31, 0, x_27);
lean_ctor_set(x_31, 1, x_30);
x_32 = l_Lake_Toml_RBDict_insert___redArg(x_26, x_20, x_31, x_21);
x_7 = x_32;
goto block_19;
}
else
{
lean_dec_ref(x_24);
x_7 = x_21;
goto block_19;
}
}
block_45:
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9;
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
lean_inc_ref(x_1);
x_38 = lean_apply_1(x_37, x_1);
if (lean_obj_tag(x_38) == 0)
{
x_21 = x_35;
goto block_33;
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; 
x_39 = lean_ctor_get(x_38, 0);
lean_inc(x_39);
lean_dec_ref(x_38);
x_40 = lean_box(0);
x_41 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_41, 0, x_40);
x_42 = lean_unbox(x_39);
lean_dec(x_39);
lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_42);
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_44 = l_Lake_Toml_RBDict_insert___redArg(x_43, x_34, x_41, x_35);
x_21 = x_44;
goto block_33;
}
}
block_62:
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; 
x_48 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12;
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
x_50 = lean_ctor_get(x_48, 3);
lean_inc(x_50);
lean_inc_ref(x_1);
x_51 = lean_apply_1(x_49, x_1);
lean_inc_ref(x_1);
x_52 = lean_apply_1(x_50, x_1);
x_53 = lean_unbox(x_51);
x_54 = lean_unbox(x_52);
x_55 = l_Lake_instDecidableEqBackend(x_53, x_54);
if (x_55 == 0)
{
lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_56 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_57 = lean_unbox(x_51);
x_58 = l_Lake_Backend_toString(x_57);
x_59 = lean_box(0);
x_60 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_60, 0, x_59);
lean_ctor_set(x_60, 1, x_58);
x_61 = l_Lake_Toml_RBDict_insert___redArg(x_56, x_46, x_60, x_47);
x_35 = x_61;
goto block_45;
}
else
{
x_35 = x_47;
goto block_45;
}
}
block_73:
{
lean_object* x_66; lean_object* x_67; size_t x_68; size_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; 
x_66 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_67 = lean_box(0);
x_68 = lean_array_size(x_64);
x_69 = 0;
x_70 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_68, x_69, x_64);
x_71 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_71, 0, x_67);
lean_ctor_set(x_71, 1, x_70);
x_72 = l_Lake_Toml_RBDict_insert___redArg(x_66, x_63, x_71, x_65);
x_47 = x_72;
goto block_62;
}
block_84:
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; 
x_75 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15;
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
x_77 = lean_ctor_get(x_75, 3);
lean_inc(x_77);
lean_inc_ref(x_1);
x_78 = lean_apply_1(x_76, x_1);
lean_inc_ref(x_1);
x_79 = lean_apply_1(x_77, x_1);
x_80 = lean_array_get_size(x_78);
x_81 = lean_array_get_size(x_79);
x_82 = lean_nat_dec_eq(x_80, x_81);
lean_dec(x_81);
if (x_82 == 0)
{
lean_dec(x_80);
lean_dec_ref(x_79);
x_64 = x_78;
x_65 = x_74;
goto block_73;
}
else
{
uint8_t x_83; 
x_83 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_78, x_79, x_80);
lean_dec_ref(x_79);
if (x_83 == 0)
{
x_64 = x_78;
x_65 = x_74;
goto block_73;
}
else
{
lean_dec_ref(x_78);
x_47 = x_74;
goto block_62;
}
}
}
block_95:
{
lean_object* x_88; lean_object* x_89; size_t x_90; size_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; 
x_88 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_89 = lean_box(0);
x_90 = lean_array_size(x_87);
x_91 = 0;
x_92 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_90, x_91, x_87);
x_93 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_93, 0, x_89);
lean_ctor_set(x_93, 1, x_92);
x_94 = l_Lake_Toml_RBDict_insert___redArg(x_88, x_85, x_93, x_86);
x_74 = x_94;
goto block_84;
}
block_106:
{
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; 
x_97 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18;
x_98 = lean_ctor_get(x_97, 0);
lean_inc(x_98);
x_99 = lean_ctor_get(x_97, 3);
lean_inc(x_99);
lean_inc_ref(x_1);
x_100 = lean_apply_1(x_98, x_1);
lean_inc_ref(x_1);
x_101 = lean_apply_1(x_99, x_1);
x_102 = lean_array_get_size(x_100);
x_103 = lean_array_get_size(x_101);
x_104 = lean_nat_dec_eq(x_102, x_103);
lean_dec(x_103);
if (x_104 == 0)
{
lean_dec(x_102);
lean_dec_ref(x_101);
x_86 = x_96;
x_87 = x_100;
goto block_95;
}
else
{
uint8_t x_105; 
x_105 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_100, x_101, x_102);
lean_dec_ref(x_101);
if (x_105 == 0)
{
x_86 = x_96;
x_87 = x_100;
goto block_95;
}
else
{
lean_dec_ref(x_100);
x_74 = x_96;
goto block_84;
}
}
}
block_120:
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; 
x_109 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21;
x_110 = lean_ctor_get(x_109, 0);
lean_inc(x_110);
lean_inc_ref(x_1);
x_111 = lean_apply_1(x_110, x_1);
x_112 = l_Array_isEmpty___redArg(x_111);
if (x_112 == 0)
{
lean_object* x_113; lean_object* x_114; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_114 = lean_box(0);
x_115 = lean_array_size(x_111);
x_116 = 0;
x_117 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_115, x_116, x_111);
x_118 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_118, 0, x_114);
lean_ctor_set(x_118, 1, x_117);
x_119 = l_Lake_Toml_RBDict_insert___redArg(x_113, x_107, x_118, x_108);
x_96 = x_119;
goto block_106;
}
else
{
lean_dec_ref(x_111);
x_96 = x_108;
goto block_106;
}
}
block_134:
{
lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; 
x_123 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24;
x_124 = lean_ctor_get(x_123, 0);
lean_inc(x_124);
lean_inc_ref(x_1);
x_125 = lean_apply_1(x_124, x_1);
x_126 = l_Array_isEmpty___redArg(x_125);
if (x_126 == 0)
{
lean_object* x_127; lean_object* x_128; size_t x_129; size_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; 
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_128 = lean_box(0);
x_129 = lean_array_size(x_125);
x_130 = 0;
x_131 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(x_129, x_130, x_125);
x_132 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_132, 0, x_128);
lean_ctor_set(x_132, 1, x_131);
x_133 = l_Lake_Toml_RBDict_insert___redArg(x_127, x_121, x_132, x_122);
x_108 = x_133;
goto block_120;
}
else
{
lean_dec_ref(x_125);
x_108 = x_122;
goto block_120;
}
}
block_145:
{
lean_object* x_138; lean_object* x_139; size_t x_140; size_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; 
x_138 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_139 = lean_box(0);
x_140 = lean_array_size(x_136);
x_141 = 0;
x_142 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_140, x_141, x_136);
x_143 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_143, 0, x_139);
lean_ctor_set(x_143, 1, x_142);
x_144 = l_Lake_Toml_RBDict_insert___redArg(x_138, x_135, x_143, x_137);
x_122 = x_144;
goto block_134;
}
block_156:
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; 
x_147 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27;
x_148 = lean_ctor_get(x_147, 0);
lean_inc(x_148);
x_149 = lean_ctor_get(x_147, 3);
lean_inc(x_149);
lean_inc_ref(x_1);
x_150 = lean_apply_1(x_148, x_1);
lean_inc_ref(x_1);
x_151 = lean_apply_1(x_149, x_1);
x_152 = lean_array_get_size(x_150);
x_153 = lean_array_get_size(x_151);
x_154 = lean_nat_dec_eq(x_152, x_153);
lean_dec(x_153);
if (x_154 == 0)
{
lean_dec(x_152);
lean_dec_ref(x_151);
x_136 = x_150;
x_137 = x_146;
goto block_145;
}
else
{
uint8_t x_155; 
x_155 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_150, x_151, x_152);
lean_dec_ref(x_151);
if (x_155 == 0)
{
x_136 = x_150;
x_137 = x_146;
goto block_145;
}
else
{
lean_dec_ref(x_150);
x_122 = x_146;
goto block_134;
}
}
}
block_168:
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; 
x_159 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30;
x_160 = lean_ctor_get(x_159, 0);
lean_inc(x_160);
lean_inc_ref(x_1);
x_161 = lean_apply_1(x_160, x_1);
x_162 = l_Array_isEmpty___redArg(x_161);
if (x_162 == 0)
{
lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; 
x_163 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_164 = lean_box(0);
x_165 = l_Lake_Toml_encodeLeanOptions(x_161);
lean_dec_ref(x_161);
x_166 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_166, 0, x_164);
lean_ctor_set(x_166, 1, x_165);
x_167 = l_Lake_Toml_RBDict_insert___redArg(x_163, x_157, x_166, x_158);
x_146 = x_167;
goto block_156;
}
else
{
lean_dec_ref(x_161);
x_146 = x_158;
goto block_156;
}
}
block_179:
{
lean_object* x_172; lean_object* x_173; size_t x_174; size_t x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; 
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_173 = lean_box(0);
x_174 = lean_array_size(x_171);
x_175 = 0;
x_176 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_174, x_175, x_171);
x_177 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_177, 0, x_173);
lean_ctor_set(x_177, 1, x_176);
x_178 = l_Lake_Toml_RBDict_insert___redArg(x_172, x_169, x_177, x_170);
x_158 = x_178;
goto block_168;
}
block_190:
{
lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; 
x_181 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33;
x_182 = lean_ctor_get(x_181, 0);
lean_inc(x_182);
x_183 = lean_ctor_get(x_181, 3);
lean_inc(x_183);
lean_inc_ref(x_1);
x_184 = lean_apply_1(x_182, x_1);
lean_inc_ref(x_1);
x_185 = lean_apply_1(x_183, x_1);
x_186 = lean_array_get_size(x_184);
x_187 = lean_array_get_size(x_185);
x_188 = lean_nat_dec_eq(x_186, x_187);
lean_dec(x_187);
if (x_188 == 0)
{
lean_dec(x_186);
lean_dec_ref(x_185);
x_170 = x_180;
x_171 = x_184;
goto block_179;
}
else
{
uint8_t x_189; 
x_189 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_184, x_185, x_186);
lean_dec_ref(x_185);
if (x_189 == 0)
{
x_170 = x_180;
x_171 = x_184;
goto block_179;
}
else
{
lean_dec_ref(x_184);
x_158 = x_180;
goto block_168;
}
}
}
block_201:
{
lean_object* x_194; lean_object* x_195; size_t x_196; size_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; 
x_194 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_195 = lean_box(0);
x_196 = lean_array_size(x_192);
x_197 = 0;
x_198 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_196, x_197, x_192);
x_199 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_199, 0, x_195);
lean_ctor_set(x_199, 1, x_198);
x_200 = l_Lake_Toml_RBDict_insert___redArg(x_194, x_191, x_199, x_193);
x_180 = x_200;
goto block_190;
}
block_212:
{
lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_210; 
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36;
x_204 = lean_ctor_get(x_203, 0);
lean_inc(x_204);
x_205 = lean_ctor_get(x_203, 3);
lean_inc(x_205);
lean_inc_ref(x_1);
x_206 = lean_apply_1(x_204, x_1);
lean_inc_ref(x_1);
x_207 = lean_apply_1(x_205, x_1);
x_208 = lean_array_get_size(x_206);
x_209 = lean_array_get_size(x_207);
x_210 = lean_nat_dec_eq(x_208, x_209);
lean_dec(x_209);
if (x_210 == 0)
{
lean_dec(x_208);
lean_dec_ref(x_207);
x_192 = x_206;
x_193 = x_202;
goto block_201;
}
else
{
uint8_t x_211; 
x_211 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_206, x_207, x_208);
lean_dec_ref(x_207);
if (x_211 == 0)
{
x_192 = x_206;
x_193 = x_202;
goto block_201;
}
else
{
lean_dec_ref(x_206);
x_180 = x_202;
goto block_190;
}
}
}
block_223:
{
lean_object* x_216; lean_object* x_217; size_t x_218; size_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; 
x_216 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_217 = lean_box(0);
x_218 = lean_array_size(x_214);
x_219 = 0;
x_220 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_218, x_219, x_214);
x_221 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_221, 0, x_217);
lean_ctor_set(x_221, 1, x_220);
x_222 = l_Lake_Toml_RBDict_insert___redArg(x_216, x_213, x_221, x_215);
x_202 = x_222;
goto block_212;
}
block_234:
{
lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; 
x_225 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39;
x_226 = lean_ctor_get(x_225, 0);
lean_inc(x_226);
x_227 = lean_ctor_get(x_225, 3);
lean_inc(x_227);
lean_inc_ref(x_1);
x_228 = lean_apply_1(x_226, x_1);
lean_inc_ref(x_1);
x_229 = lean_apply_1(x_227, x_1);
x_230 = lean_array_get_size(x_228);
x_231 = lean_array_get_size(x_229);
x_232 = lean_nat_dec_eq(x_230, x_231);
lean_dec(x_231);
if (x_232 == 0)
{
lean_dec(x_230);
lean_dec_ref(x_229);
x_214 = x_228;
x_215 = x_224;
goto block_223;
}
else
{
uint8_t x_233; 
x_233 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_228, x_229, x_230);
lean_dec_ref(x_229);
if (x_233 == 0)
{
x_214 = x_228;
x_215 = x_224;
goto block_223;
}
else
{
lean_dec_ref(x_228);
x_202 = x_224;
goto block_212;
}
}
}
block_246:
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; uint8_t x_240; 
x_237 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42;
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
lean_inc_ref(x_1);
x_239 = lean_apply_1(x_238, x_1);
x_240 = l_Array_isEmpty___redArg(x_239);
if (x_240 == 0)
{
lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; 
x_241 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_242 = lean_box(0);
x_243 = l_Lake_Toml_encodeLeanOptions(x_239);
lean_dec_ref(x_239);
x_244 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_244, 0, x_242);
lean_ctor_set(x_244, 1, x_243);
x_245 = l_Lake_Toml_RBDict_insert___redArg(x_241, x_235, x_244, x_236);
x_224 = x_245;
goto block_234;
}
else
{
lean_dec_ref(x_239);
x_224 = x_236;
goto block_234;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_1, x_2, x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_box(0);
x_3 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml(x_1, x_3);
x_5 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 1)
{
lean_dec(x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = lean_nat_sub(x_3, x_6);
lean_dec(x_3);
x_8 = lean_array_fget_borrowed(x_1, x_7);
x_9 = lean_array_fget_borrowed(x_2, x_7);
x_10 = lean_name_eq(x_8, x_9);
if (x_10 == 0)
{
lean_dec(x_7);
return x_10;
}
else
{
x_3 = x_7;
goto _start;
}
}
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_1, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 1)
{
lean_dec(x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = lean_nat_sub(x_3, x_6);
lean_dec(x_3);
x_8 = lean_array_fget_borrowed(x_1, x_7);
x_9 = lean_array_fget_borrowed(x_2, x_7);
x_10 = l_Lake_instDecidableEqGlob_decEq(x_8, x_9);
if (x_10 == 0)
{
lean_dec(x_7);
return x_10;
}
else
{
x_3 = x_7;
goto _start;
}
}
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg(x_1, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lean_Name_toString(x_5, x_4);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_PartialBuildKey_toString(x_5);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_Glob_toString(x_5);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("allowImportAll", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("defaultFacets", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("precompileModules", 17, 17);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("extraDepTargets", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("needs", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("libPrefixOnWindows", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("libName", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("globs", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("roots", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("srcDir", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_24; lean_object* x_25; lean_object* x_41; lean_object* x_42; lean_object* x_56; lean_object* x_57; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_87; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_112; lean_object* x_126; lean_object* x_127; lean_object* x_143; lean_object* x_144; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_171; lean_object* x_185; lean_object* x_186; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_211; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_236; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_261; lean_object* x_275; lean_object* x_276; lean_object* x_290; lean_object* x_291; lean_object* x_310; uint8_t x_311; lean_object* x_312; lean_object* x_318; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_337; lean_object* x_348; uint8_t x_349; lean_object* x_350; lean_object* x_356; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_379; lean_object* x_390; lean_object* x_391; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_412; lean_object* x_424; lean_object* x_425; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_448; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_470; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; uint8_t x_492; 
x_4 = l_Lake_LeanLibConfig_srcDir___proj(x_1);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 3);
lean_inc(x_6);
lean_dec_ref(x_4);
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2;
x_24 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5;
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8;
x_56 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11;
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14;
x_101 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17;
x_126 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23;
x_160 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26;
x_185 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29;
x_200 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32;
x_225 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41;
x_290 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44;
x_310 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1;
x_330 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3;
x_348 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5;
x_368 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9;
x_404 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11;
x_424 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13;
x_437 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15;
x_459 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17;
x_481 = l_Lake_Dependency_toToml___closed__12;
x_482 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_483 = 1;
lean_inc(x_1);
x_484 = l_Lean_Name_toString(x_1, x_483);
x_485 = lean_box(0);
x_486 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_486, 0, x_485);
lean_ctor_set(x_486, 1, x_484);
x_487 = l_Lake_Toml_RBDict_insert___redArg(x_482, x_481, x_486, x_3);
lean_inc_ref(x_2);
x_488 = lean_apply_1(x_5, x_2);
lean_inc_ref(x_2);
x_489 = lean_apply_1(x_6, x_2);
lean_inc_ref(x_488);
x_490 = l_System_FilePath_normalize(x_488);
x_491 = l_System_FilePath_normalize(x_489);
x_492 = lean_string_dec_eq(x_490, x_491);
lean_dec_ref(x_491);
lean_dec_ref(x_490);
if (x_492 == 0)
{
lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; 
x_493 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19;
x_494 = l_Lake_mkRelPathString(x_488);
x_495 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_495, 0, x_485);
lean_ctor_set(x_495, 1, x_494);
x_496 = l_Lake_Toml_RBDict_insert___redArg(x_482, x_493, x_495, x_487);
x_470 = x_496;
goto block_480;
}
else
{
lean_dec_ref(x_488);
x_470 = x_487;
goto block_480;
}
block_23:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3;
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
lean_dec_ref(x_11);
x_13 = lean_apply_1(x_12, x_2);
x_14 = lean_apply_1(x_10, x_13);
x_15 = l_Array_isEmpty___redArg(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_16 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_17 = lean_box(0);
x_18 = lean_array_size(x_14);
x_19 = 0;
x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_18, x_19, x_14);
x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_17);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Lake_Toml_RBDict_insert___redArg(x_16, x_7, x_21, x_8);
return x_22;
}
else
{
lean_dec_ref(x_14);
return x_8;
}
}
block_40:
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6;
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
lean_dec_ref(x_28);
lean_inc_ref(x_2);
x_30 = lean_apply_1(x_29, x_2);
x_31 = lean_apply_1(x_27, x_30);
x_32 = l_Array_isEmpty___redArg(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_34 = lean_box(0);
x_35 = lean_array_size(x_31);
x_36 = 0;
x_37 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_35, x_36, x_31);
x_38 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_38, 0, x_34);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lake_Toml_RBDict_insert___redArg(x_33, x_24, x_38, x_25);
x_8 = x_39;
goto block_23;
}
else
{
lean_dec_ref(x_31);
x_8 = x_25;
goto block_23;
}
}
block_55:
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9;
x_44 = lean_ctor_get(x_43, 0);
lean_inc(x_44);
x_45 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
lean_dec_ref(x_45);
lean_inc_ref(x_2);
x_47 = lean_apply_1(x_46, x_2);
x_48 = lean_apply_1(x_44, x_47);
if (lean_obj_tag(x_48) == 0)
{
x_25 = x_42;
goto block_40;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; 
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
lean_dec_ref(x_48);
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_51, 0, x_50);
x_52 = lean_unbox(x_49);
lean_dec(x_49);
lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_52);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_54 = l_Lake_Toml_RBDict_insert___redArg(x_53, x_41, x_51, x_42);
x_25 = x_54;
goto block_40;
}
}
block_75:
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; 
x_58 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12;
x_59 = lean_ctor_get(x_58, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_58, 3);
lean_inc(x_60);
x_61 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
lean_dec_ref(x_61);
lean_inc_ref(x_2);
x_63 = lean_apply_1(x_62, x_2);
lean_inc_ref(x_63);
x_64 = lean_apply_1(x_59, x_63);
x_65 = lean_apply_1(x_60, x_63);
x_66 = lean_unbox(x_64);
x_67 = lean_unbox(x_65);
x_68 = l_Lake_instDecidableEqBackend(x_66, x_67);
if (x_68 == 0)
{
lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_69 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_70 = lean_unbox(x_64);
x_71 = l_Lake_Backend_toString(x_70);
x_72 = lean_box(0);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_72);
lean_ctor_set(x_73, 1, x_71);
x_74 = l_Lake_Toml_RBDict_insert___redArg(x_69, x_56, x_73, x_57);
x_42 = x_74;
goto block_55;
}
else
{
x_42 = x_57;
goto block_55;
}
}
block_86:
{
lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_80 = lean_box(0);
x_81 = lean_array_size(x_77);
x_82 = 0;
x_83 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_81, x_82, x_77);
x_84 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_84, 0, x_80);
lean_ctor_set(x_84, 1, x_83);
x_85 = l_Lake_Toml_RBDict_insert___redArg(x_79, x_76, x_84, x_78);
x_57 = x_85;
goto block_75;
}
block_100:
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; 
x_88 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15;
x_89 = lean_ctor_get(x_88, 0);
lean_inc(x_89);
x_90 = lean_ctor_get(x_88, 3);
lean_inc(x_90);
x_91 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
lean_dec_ref(x_91);
lean_inc_ref(x_2);
x_93 = lean_apply_1(x_92, x_2);
lean_inc_ref(x_93);
x_94 = lean_apply_1(x_89, x_93);
x_95 = lean_apply_1(x_90, x_93);
x_96 = lean_array_get_size(x_94);
x_97 = lean_array_get_size(x_95);
x_98 = lean_nat_dec_eq(x_96, x_97);
lean_dec(x_97);
if (x_98 == 0)
{
lean_dec(x_96);
lean_dec_ref(x_95);
x_77 = x_94;
x_78 = x_87;
goto block_86;
}
else
{
uint8_t x_99; 
x_99 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_94, x_95, x_96);
lean_dec_ref(x_95);
if (x_99 == 0)
{
x_77 = x_94;
x_78 = x_87;
goto block_86;
}
else
{
lean_dec_ref(x_94);
x_57 = x_87;
goto block_75;
}
}
}
block_111:
{
lean_object* x_104; lean_object* x_105; size_t x_106; size_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; 
x_104 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_105 = lean_box(0);
x_106 = lean_array_size(x_103);
x_107 = 0;
x_108 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_106, x_107, x_103);
x_109 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_109, 0, x_105);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Lake_Toml_RBDict_insert___redArg(x_104, x_101, x_109, x_102);
x_87 = x_110;
goto block_100;
}
block_125:
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; 
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18;
x_114 = lean_ctor_get(x_113, 0);
lean_inc(x_114);
x_115 = lean_ctor_get(x_113, 3);
lean_inc(x_115);
x_116 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_117 = lean_ctor_get(x_116, 0);
lean_inc(x_117);
lean_dec_ref(x_116);
lean_inc_ref(x_2);
x_118 = lean_apply_1(x_117, x_2);
lean_inc_ref(x_118);
x_119 = lean_apply_1(x_114, x_118);
x_120 = lean_apply_1(x_115, x_118);
x_121 = lean_array_get_size(x_119);
x_122 = lean_array_get_size(x_120);
x_123 = lean_nat_dec_eq(x_121, x_122);
lean_dec(x_122);
if (x_123 == 0)
{
lean_dec(x_121);
lean_dec_ref(x_120);
x_102 = x_112;
x_103 = x_119;
goto block_111;
}
else
{
uint8_t x_124; 
x_124 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_119, x_120, x_121);
lean_dec_ref(x_120);
if (x_124 == 0)
{
x_102 = x_112;
x_103 = x_119;
goto block_111;
}
else
{
lean_dec_ref(x_119);
x_87 = x_112;
goto block_100;
}
}
}
block_142:
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; 
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21;
x_129 = lean_ctor_get(x_128, 0);
lean_inc(x_129);
x_130 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_131 = lean_ctor_get(x_130, 0);
lean_inc(x_131);
lean_dec_ref(x_130);
lean_inc_ref(x_2);
x_132 = lean_apply_1(x_131, x_2);
x_133 = lean_apply_1(x_129, x_132);
x_134 = l_Array_isEmpty___redArg(x_133);
if (x_134 == 0)
{
lean_object* x_135; lean_object* x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
x_135 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_136 = lean_box(0);
x_137 = lean_array_size(x_133);
x_138 = 0;
x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_137, x_138, x_133);
x_140 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_140, 0, x_136);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Lake_Toml_RBDict_insert___redArg(x_135, x_126, x_140, x_127);
x_112 = x_141;
goto block_125;
}
else
{
lean_dec_ref(x_133);
x_112 = x_127;
goto block_125;
}
}
block_159:
{
lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; 
x_145 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24;
x_146 = lean_ctor_get(x_145, 0);
lean_inc(x_146);
x_147 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_148 = lean_ctor_get(x_147, 0);
lean_inc(x_148);
lean_dec_ref(x_147);
lean_inc_ref(x_2);
x_149 = lean_apply_1(x_148, x_2);
x_150 = lean_apply_1(x_146, x_149);
x_151 = l_Array_isEmpty___redArg(x_150);
if (x_151 == 0)
{
lean_object* x_152; lean_object* x_153; size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; 
x_152 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_153 = lean_box(0);
x_154 = lean_array_size(x_150);
x_155 = 0;
x_156 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(x_154, x_155, x_150);
x_157 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_157, 0, x_153);
lean_ctor_set(x_157, 1, x_156);
x_158 = l_Lake_Toml_RBDict_insert___redArg(x_152, x_143, x_157, x_144);
x_127 = x_158;
goto block_142;
}
else
{
lean_dec_ref(x_150);
x_127 = x_144;
goto block_142;
}
}
block_170:
{
lean_object* x_163; lean_object* x_164; size_t x_165; size_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; 
x_163 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_164 = lean_box(0);
x_165 = lean_array_size(x_162);
x_166 = 0;
x_167 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_165, x_166, x_162);
x_168 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_168, 0, x_164);
lean_ctor_set(x_168, 1, x_167);
x_169 = l_Lake_Toml_RBDict_insert___redArg(x_163, x_160, x_168, x_161);
x_144 = x_169;
goto block_159;
}
block_184:
{
lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; 
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27;
x_173 = lean_ctor_get(x_172, 0);
lean_inc(x_173);
x_174 = lean_ctor_get(x_172, 3);
lean_inc(x_174);
x_175 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
lean_dec_ref(x_175);
lean_inc_ref(x_2);
x_177 = lean_apply_1(x_176, x_2);
lean_inc_ref(x_177);
x_178 = lean_apply_1(x_173, x_177);
x_179 = lean_apply_1(x_174, x_177);
x_180 = lean_array_get_size(x_178);
x_181 = lean_array_get_size(x_179);
x_182 = lean_nat_dec_eq(x_180, x_181);
lean_dec(x_181);
if (x_182 == 0)
{
lean_dec(x_180);
lean_dec_ref(x_179);
x_161 = x_171;
x_162 = x_178;
goto block_170;
}
else
{
uint8_t x_183; 
x_183 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_178, x_179, x_180);
lean_dec_ref(x_179);
if (x_183 == 0)
{
x_161 = x_171;
x_162 = x_178;
goto block_170;
}
else
{
lean_dec_ref(x_178);
x_144 = x_171;
goto block_159;
}
}
}
block_199:
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; 
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30;
x_188 = lean_ctor_get(x_187, 0);
lean_inc(x_188);
x_189 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_190 = lean_ctor_get(x_189, 0);
lean_inc(x_190);
lean_dec_ref(x_189);
lean_inc_ref(x_2);
x_191 = lean_apply_1(x_190, x_2);
x_192 = lean_apply_1(x_188, x_191);
x_193 = l_Array_isEmpty___redArg(x_192);
if (x_193 == 0)
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; 
x_194 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_195 = lean_box(0);
x_196 = l_Lake_Toml_encodeLeanOptions(x_192);
lean_dec_ref(x_192);
x_197 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_197, 0, x_195);
lean_ctor_set(x_197, 1, x_196);
x_198 = l_Lake_Toml_RBDict_insert___redArg(x_194, x_185, x_197, x_186);
x_171 = x_198;
goto block_184;
}
else
{
lean_dec_ref(x_192);
x_171 = x_186;
goto block_184;
}
}
block_210:
{
lean_object* x_203; lean_object* x_204; size_t x_205; size_t x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; 
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_204 = lean_box(0);
x_205 = lean_array_size(x_202);
x_206 = 0;
x_207 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_205, x_206, x_202);
x_208 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_208, 0, x_204);
lean_ctor_set(x_208, 1, x_207);
x_209 = l_Lake_Toml_RBDict_insert___redArg(x_203, x_200, x_208, x_201);
x_186 = x_209;
goto block_199;
}
block_224:
{
lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; 
x_212 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33;
x_213 = lean_ctor_get(x_212, 0);
lean_inc(x_213);
x_214 = lean_ctor_get(x_212, 3);
lean_inc(x_214);
x_215 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_216 = lean_ctor_get(x_215, 0);
lean_inc(x_216);
lean_dec_ref(x_215);
lean_inc_ref(x_2);
x_217 = lean_apply_1(x_216, x_2);
lean_inc_ref(x_217);
x_218 = lean_apply_1(x_213, x_217);
x_219 = lean_apply_1(x_214, x_217);
x_220 = lean_array_get_size(x_218);
x_221 = lean_array_get_size(x_219);
x_222 = lean_nat_dec_eq(x_220, x_221);
lean_dec(x_221);
if (x_222 == 0)
{
lean_dec(x_220);
lean_dec_ref(x_219);
x_201 = x_211;
x_202 = x_218;
goto block_210;
}
else
{
uint8_t x_223; 
x_223 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_218, x_219, x_220);
lean_dec_ref(x_219);
if (x_223 == 0)
{
x_201 = x_211;
x_202 = x_218;
goto block_210;
}
else
{
lean_dec_ref(x_218);
x_186 = x_211;
goto block_199;
}
}
}
block_235:
{
lean_object* x_228; lean_object* x_229; size_t x_230; size_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; 
x_228 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_229 = lean_box(0);
x_230 = lean_array_size(x_227);
x_231 = 0;
x_232 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_230, x_231, x_227);
x_233 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_233, 0, x_229);
lean_ctor_set(x_233, 1, x_232);
x_234 = l_Lake_Toml_RBDict_insert___redArg(x_228, x_225, x_233, x_226);
x_211 = x_234;
goto block_224;
}
block_249:
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; 
x_237 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36;
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
x_239 = lean_ctor_get(x_237, 3);
lean_inc(x_239);
x_240 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_241 = lean_ctor_get(x_240, 0);
lean_inc(x_241);
lean_dec_ref(x_240);
lean_inc_ref(x_2);
x_242 = lean_apply_1(x_241, x_2);
lean_inc_ref(x_242);
x_243 = lean_apply_1(x_238, x_242);
x_244 = lean_apply_1(x_239, x_242);
x_245 = lean_array_get_size(x_243);
x_246 = lean_array_get_size(x_244);
x_247 = lean_nat_dec_eq(x_245, x_246);
lean_dec(x_246);
if (x_247 == 0)
{
lean_dec(x_245);
lean_dec_ref(x_244);
x_226 = x_236;
x_227 = x_243;
goto block_235;
}
else
{
uint8_t x_248; 
x_248 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_243, x_244, x_245);
lean_dec_ref(x_244);
if (x_248 == 0)
{
x_226 = x_236;
x_227 = x_243;
goto block_235;
}
else
{
lean_dec_ref(x_243);
x_211 = x_236;
goto block_224;
}
}
}
block_260:
{
lean_object* x_253; lean_object* x_254; size_t x_255; size_t x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; 
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_254 = lean_box(0);
x_255 = lean_array_size(x_252);
x_256 = 0;
x_257 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_255, x_256, x_252);
x_258 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_258, 0, x_254);
lean_ctor_set(x_258, 1, x_257);
x_259 = l_Lake_Toml_RBDict_insert___redArg(x_253, x_250, x_258, x_251);
x_236 = x_259;
goto block_249;
}
block_274:
{
lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; 
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39;
x_263 = lean_ctor_get(x_262, 0);
lean_inc(x_263);
x_264 = lean_ctor_get(x_262, 3);
lean_inc(x_264);
x_265 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_266 = lean_ctor_get(x_265, 0);
lean_inc(x_266);
lean_dec_ref(x_265);
lean_inc_ref(x_2);
x_267 = lean_apply_1(x_266, x_2);
lean_inc_ref(x_267);
x_268 = lean_apply_1(x_263, x_267);
x_269 = lean_apply_1(x_264, x_267);
x_270 = lean_array_get_size(x_268);
x_271 = lean_array_get_size(x_269);
x_272 = lean_nat_dec_eq(x_270, x_271);
lean_dec(x_271);
if (x_272 == 0)
{
lean_dec(x_270);
lean_dec_ref(x_269);
x_251 = x_261;
x_252 = x_268;
goto block_260;
}
else
{
uint8_t x_273; 
x_273 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_268, x_269, x_270);
lean_dec_ref(x_269);
if (x_273 == 0)
{
x_251 = x_261;
x_252 = x_268;
goto block_260;
}
else
{
lean_dec_ref(x_268);
x_236 = x_261;
goto block_249;
}
}
}
block_289:
{
lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; 
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42;
x_278 = lean_ctor_get(x_277, 0);
lean_inc(x_278);
x_279 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_280 = lean_ctor_get(x_279, 0);
lean_inc(x_280);
lean_dec_ref(x_279);
lean_inc_ref(x_2);
x_281 = lean_apply_1(x_280, x_2);
x_282 = lean_apply_1(x_278, x_281);
x_283 = l_Array_isEmpty___redArg(x_282);
if (x_283 == 0)
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; 
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_285 = lean_box(0);
x_286 = l_Lake_Toml_encodeLeanOptions(x_282);
lean_dec_ref(x_282);
x_287 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_287, 0, x_285);
lean_ctor_set(x_287, 1, x_286);
x_288 = l_Lake_Toml_RBDict_insert___redArg(x_284, x_275, x_287, x_276);
x_261 = x_288;
goto block_274;
}
else
{
lean_dec_ref(x_282);
x_261 = x_276;
goto block_274;
}
}
block_309:
{
lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; uint8_t x_301; uint8_t x_302; 
x_292 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0;
x_293 = lean_ctor_get(x_292, 0);
lean_inc(x_293);
x_294 = lean_ctor_get(x_292, 3);
lean_inc(x_294);
x_295 = l_Lake_LeanLibConfig_toLeanConfig___proj(x_1);
x_296 = lean_ctor_get(x_295, 0);
lean_inc(x_296);
lean_dec_ref(x_295);
lean_inc_ref(x_2);
x_297 = lean_apply_1(x_296, x_2);
lean_inc_ref(x_297);
x_298 = lean_apply_1(x_293, x_297);
x_299 = lean_apply_1(x_294, x_297);
x_300 = lean_unbox(x_298);
x_301 = lean_unbox(x_299);
x_302 = l_Lake_instDecidableEqBuildType(x_300, x_301);
if (x_302 == 0)
{
lean_object* x_303; uint8_t x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; 
x_303 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_304 = lean_unbox(x_298);
x_305 = l_Lake_BuildType_toString(x_304);
x_306 = lean_box(0);
x_307 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_307, 0, x_306);
lean_ctor_set(x_307, 1, x_305);
x_308 = l_Lake_Toml_RBDict_insert___redArg(x_303, x_290, x_307, x_291);
x_276 = x_308;
goto block_289;
}
else
{
x_276 = x_291;
goto block_289;
}
}
block_317:
{
lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; 
x_313 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_314 = lean_box(0);
x_315 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_315, 0, x_314);
lean_ctor_set_uint8(x_315, sizeof(void*)*1, x_311);
x_316 = l_Lake_Toml_RBDict_insert___redArg(x_313, x_310, x_315, x_312);
x_291 = x_316;
goto block_309;
}
block_329:
{
lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; 
x_319 = l_Lake_LeanLibConfig_allowImportAll___proj(x_1);
x_320 = lean_ctor_get(x_319, 0);
lean_inc(x_320);
x_321 = lean_ctor_get(x_319, 3);
lean_inc(x_321);
lean_dec_ref(x_319);
lean_inc_ref(x_2);
x_322 = lean_apply_1(x_320, x_2);
lean_inc_ref(x_2);
x_323 = lean_apply_1(x_321, x_2);
x_324 = lean_unbox(x_322);
if (x_324 == 0)
{
uint8_t x_325; 
x_325 = lean_unbox(x_323);
if (x_325 == 0)
{
x_291 = x_318;
goto block_309;
}
else
{
uint8_t x_326; 
x_326 = lean_unbox(x_322);
x_311 = x_326;
x_312 = x_318;
goto block_317;
}
}
else
{
uint8_t x_327; 
x_327 = lean_unbox(x_323);
if (x_327 == 0)
{
uint8_t x_328; 
x_328 = lean_unbox(x_322);
x_311 = x_328;
x_312 = x_318;
goto block_317;
}
else
{
x_291 = x_318;
goto block_309;
}
}
}
block_336:
{
lean_object* x_333; lean_object* x_334; lean_object* x_335; 
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_334 = l_Lake_encodeFacets(x_331);
x_335 = l_Lake_Toml_RBDict_insert___redArg(x_333, x_330, x_334, x_332);
x_318 = x_335;
goto block_329;
}
block_347:
{
lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; uint8_t x_345; 
x_338 = l_Lake_LeanLibConfig_defaultFacets___proj(x_1);
x_339 = lean_ctor_get(x_338, 0);
lean_inc(x_339);
x_340 = lean_ctor_get(x_338, 3);
lean_inc(x_340);
lean_dec_ref(x_338);
lean_inc_ref(x_2);
x_341 = lean_apply_1(x_339, x_2);
lean_inc_ref(x_2);
x_342 = lean_apply_1(x_340, x_2);
x_343 = lean_array_get_size(x_341);
x_344 = lean_array_get_size(x_342);
x_345 = lean_nat_dec_eq(x_343, x_344);
lean_dec(x_344);
if (x_345 == 0)
{
lean_dec(x_343);
lean_dec_ref(x_342);
x_331 = x_341;
x_332 = x_337;
goto block_336;
}
else
{
uint8_t x_346; 
x_346 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_341, x_342, x_343);
lean_dec_ref(x_342);
if (x_346 == 0)
{
x_331 = x_341;
x_332 = x_337;
goto block_336;
}
else
{
lean_dec_ref(x_341);
x_318 = x_337;
goto block_329;
}
}
}
block_355:
{
lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; 
x_351 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_352 = lean_box(0);
x_353 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_353, 0, x_352);
lean_ctor_set_uint8(x_353, sizeof(void*)*1, x_349);
x_354 = l_Lake_Toml_RBDict_insert___redArg(x_351, x_348, x_353, x_350);
x_337 = x_354;
goto block_347;
}
block_367:
{
lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; uint8_t x_362; 
x_357 = l_Lake_LeanLibConfig_precompileModules___proj(x_1);
x_358 = lean_ctor_get(x_357, 0);
lean_inc(x_358);
x_359 = lean_ctor_get(x_357, 3);
lean_inc(x_359);
lean_dec_ref(x_357);
lean_inc_ref(x_2);
x_360 = lean_apply_1(x_358, x_2);
lean_inc_ref(x_2);
x_361 = lean_apply_1(x_359, x_2);
x_362 = lean_unbox(x_360);
if (x_362 == 0)
{
uint8_t x_363; 
x_363 = lean_unbox(x_361);
if (x_363 == 0)
{
x_337 = x_356;
goto block_347;
}
else
{
uint8_t x_364; 
x_364 = lean_unbox(x_360);
x_349 = x_364;
x_350 = x_356;
goto block_355;
}
}
else
{
uint8_t x_365; 
x_365 = lean_unbox(x_361);
if (x_365 == 0)
{
uint8_t x_366; 
x_366 = lean_unbox(x_360);
x_349 = x_366;
x_350 = x_356;
goto block_355;
}
else
{
x_337 = x_356;
goto block_347;
}
}
}
block_378:
{
lean_object* x_371; lean_object* x_372; size_t x_373; size_t x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; 
x_371 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_372 = lean_box(0);
x_373 = lean_array_size(x_369);
x_374 = 0;
x_375 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_373, x_374, x_369);
x_376 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_376, 0, x_372);
lean_ctor_set(x_376, 1, x_375);
x_377 = l_Lake_Toml_RBDict_insert___redArg(x_371, x_368, x_376, x_370);
x_356 = x_377;
goto block_367;
}
block_389:
{
lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; 
x_380 = l_Lake_LeanLibConfig_extraDepTargets___proj(x_1);
x_381 = lean_ctor_get(x_380, 0);
lean_inc(x_381);
x_382 = lean_ctor_get(x_380, 3);
lean_inc(x_382);
lean_dec_ref(x_380);
lean_inc_ref(x_2);
x_383 = lean_apply_1(x_381, x_2);
lean_inc_ref(x_2);
x_384 = lean_apply_1(x_382, x_2);
x_385 = lean_array_get_size(x_383);
x_386 = lean_array_get_size(x_384);
x_387 = lean_nat_dec_eq(x_385, x_386);
lean_dec(x_386);
if (x_387 == 0)
{
lean_dec(x_385);
lean_dec_ref(x_384);
x_369 = x_383;
x_370 = x_379;
goto block_378;
}
else
{
uint8_t x_388; 
x_388 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_383, x_384, x_385);
lean_dec_ref(x_384);
if (x_388 == 0)
{
x_369 = x_383;
x_370 = x_379;
goto block_378;
}
else
{
lean_dec_ref(x_383);
x_356 = x_379;
goto block_367;
}
}
}
block_403:
{
lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; 
x_392 = l_Lake_LeanLibConfig_needs___proj(x_1);
x_393 = lean_ctor_get(x_392, 0);
lean_inc(x_393);
lean_dec_ref(x_392);
lean_inc_ref(x_2);
x_394 = lean_apply_1(x_393, x_2);
x_395 = l_Array_isEmpty___redArg(x_394);
if (x_395 == 0)
{
lean_object* x_396; lean_object* x_397; size_t x_398; size_t x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; 
x_396 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_397 = lean_box(0);
x_398 = lean_array_size(x_394);
x_399 = 0;
x_400 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2(x_398, x_399, x_394);
x_401 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_401, 0, x_397);
lean_ctor_set(x_401, 1, x_400);
x_402 = l_Lake_Toml_RBDict_insert___redArg(x_396, x_390, x_401, x_391);
x_379 = x_402;
goto block_389;
}
else
{
lean_dec_ref(x_394);
x_379 = x_391;
goto block_389;
}
}
block_411:
{
lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; 
x_407 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_408 = lean_box(0);
x_409 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_409, 0, x_408);
lean_ctor_set_uint8(x_409, sizeof(void*)*1, x_406);
x_410 = l_Lake_Toml_RBDict_insert___redArg(x_407, x_404, x_409, x_405);
x_391 = x_410;
goto block_403;
}
block_423:
{
lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; 
x_413 = l_Lake_LeanLibConfig_libPrefixOnWindows___proj(x_1);
x_414 = lean_ctor_get(x_413, 0);
lean_inc(x_414);
x_415 = lean_ctor_get(x_413, 3);
lean_inc(x_415);
lean_dec_ref(x_413);
lean_inc_ref(x_2);
x_416 = lean_apply_1(x_414, x_2);
lean_inc_ref(x_2);
x_417 = lean_apply_1(x_415, x_2);
x_418 = lean_unbox(x_416);
if (x_418 == 0)
{
uint8_t x_419; 
x_419 = lean_unbox(x_417);
if (x_419 == 0)
{
x_391 = x_412;
goto block_403;
}
else
{
uint8_t x_420; 
x_420 = lean_unbox(x_416);
x_405 = x_412;
x_406 = x_420;
goto block_411;
}
}
else
{
uint8_t x_421; 
x_421 = lean_unbox(x_417);
if (x_421 == 0)
{
uint8_t x_422; 
x_422 = lean_unbox(x_416);
x_405 = x_412;
x_406 = x_422;
goto block_411;
}
else
{
x_391 = x_412;
goto block_403;
}
}
}
block_436:
{
lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; 
x_426 = l_Lake_LeanLibConfig_libName___proj(x_1);
x_427 = lean_ctor_get(x_426, 0);
lean_inc(x_427);
x_428 = lean_ctor_get(x_426, 3);
lean_inc(x_428);
lean_dec_ref(x_426);
lean_inc_ref(x_2);
x_429 = lean_apply_1(x_427, x_2);
lean_inc_ref(x_2);
x_430 = lean_apply_1(x_428, x_2);
x_431 = lean_string_dec_eq(x_429, x_430);
lean_dec_ref(x_430);
if (x_431 == 0)
{
lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; 
x_432 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_433 = lean_box(0);
x_434 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_434, 0, x_433);
lean_ctor_set(x_434, 1, x_429);
x_435 = l_Lake_Toml_RBDict_insert___redArg(x_432, x_424, x_434, x_425);
x_412 = x_435;
goto block_423;
}
else
{
lean_dec_ref(x_429);
x_412 = x_425;
goto block_423;
}
}
block_447:
{
lean_object* x_440; lean_object* x_441; size_t x_442; size_t x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; 
x_440 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_441 = lean_box(0);
x_442 = lean_array_size(x_439);
x_443 = 0;
x_444 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3(x_442, x_443, x_439);
x_445 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_445, 0, x_441);
lean_ctor_set(x_445, 1, x_444);
x_446 = l_Lake_Toml_RBDict_insert___redArg(x_440, x_437, x_445, x_438);
x_425 = x_446;
goto block_436;
}
block_458:
{
lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; uint8_t x_456; 
x_449 = l_Lake_LeanLibConfig_globs___proj(x_1);
x_450 = lean_ctor_get(x_449, 0);
lean_inc(x_450);
x_451 = lean_ctor_get(x_449, 3);
lean_inc(x_451);
lean_dec_ref(x_449);
lean_inc_ref(x_2);
x_452 = lean_apply_1(x_450, x_2);
lean_inc_ref(x_2);
x_453 = lean_apply_1(x_451, x_2);
x_454 = lean_array_get_size(x_452);
x_455 = lean_array_get_size(x_453);
x_456 = lean_nat_dec_eq(x_454, x_455);
lean_dec(x_455);
if (x_456 == 0)
{
lean_dec(x_454);
lean_dec_ref(x_453);
x_438 = x_448;
x_439 = x_452;
goto block_447;
}
else
{
uint8_t x_457; 
x_457 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg(x_452, x_453, x_454);
lean_dec_ref(x_453);
if (x_457 == 0)
{
x_438 = x_448;
x_439 = x_452;
goto block_447;
}
else
{
lean_dec_ref(x_452);
x_425 = x_448;
goto block_436;
}
}
}
block_469:
{
lean_object* x_462; lean_object* x_463; size_t x_464; size_t x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; 
x_462 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_463 = lean_box(0);
x_464 = lean_array_size(x_461);
x_465 = 0;
x_466 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_464, x_465, x_461);
x_467 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_467, 0, x_463);
lean_ctor_set(x_467, 1, x_466);
x_468 = l_Lake_Toml_RBDict_insert___redArg(x_462, x_459, x_467, x_460);
x_448 = x_468;
goto block_458;
}
block_480:
{
lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; 
lean_inc(x_1);
x_471 = l_Lake_LeanLibConfig_roots___proj(x_1);
x_472 = lean_ctor_get(x_471, 0);
lean_inc(x_472);
x_473 = lean_ctor_get(x_471, 3);
lean_inc(x_473);
lean_dec_ref(x_471);
lean_inc_ref(x_2);
x_474 = lean_apply_1(x_472, x_2);
lean_inc_ref(x_2);
x_475 = lean_apply_1(x_473, x_2);
x_476 = lean_array_get_size(x_474);
x_477 = lean_array_get_size(x_475);
x_478 = lean_nat_dec_eq(x_476, x_477);
lean_dec(x_477);
if (x_478 == 0)
{
lean_dec(x_476);
lean_dec_ref(x_475);
x_460 = x_470;
x_461 = x_474;
goto block_469;
}
else
{
uint8_t x_479; 
x_479 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_474, x_475, x_476);
lean_dec_ref(x_475);
if (x_479 == 0)
{
x_460 = x_470;
x_461 = x_474;
goto block_469;
}
else
{
lean_dec_ref(x_474);
x_448 = x_470;
goto block_458;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_1, x_2, x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__4___redArg(x_1, x_2, x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__3(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_instToToml___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_box(0);
x_4 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml(x_1, x_2, x_4);
x_6 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_instToToml(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_instToToml___lam__0), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("supportInterpreter", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("exeName", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("root", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_24; lean_object* x_25; lean_object* x_41; lean_object* x_42; lean_object* x_56; lean_object* x_57; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_87; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_112; lean_object* x_126; lean_object* x_127; lean_object* x_143; lean_object* x_144; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_171; lean_object* x_185; lean_object* x_186; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_211; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_236; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_261; lean_object* x_275; lean_object* x_276; lean_object* x_290; lean_object* x_291; lean_object* x_310; lean_object* x_311; uint8_t x_312; lean_object* x_318; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_341; lean_object* x_352; lean_object* x_353; lean_object* x_366; lean_object* x_367; lean_object* x_379; lean_object* x_380; lean_object* x_394; lean_object* x_395; uint8_t x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; 
x_4 = l_Lake_LeanExeConfig_srcDir___proj(x_1);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 3);
lean_inc(x_6);
lean_dec_ref(x_4);
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2;
x_24 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5;
x_41 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8;
x_56 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11;
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14;
x_101 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17;
x_126 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20;
x_143 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23;
x_160 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26;
x_185 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29;
x_200 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32;
x_225 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35;
x_250 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38;
x_275 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41;
x_290 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44;
x_310 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1;
x_330 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7;
x_352 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9;
x_366 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3;
x_379 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5;
x_394 = l_Lake_Dependency_toToml___closed__12;
x_395 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_396 = 1;
lean_inc(x_1);
x_397 = l_Lean_Name_toString(x_1, x_396);
x_398 = lean_box(0);
x_399 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_399, 0, x_398);
lean_ctor_set(x_399, 1, x_397);
x_400 = l_Lake_Toml_RBDict_insert___redArg(x_395, x_394, x_399, x_3);
lean_inc_ref(x_2);
x_401 = lean_apply_1(x_5, x_2);
lean_inc_ref(x_2);
x_402 = lean_apply_1(x_6, x_2);
lean_inc_ref(x_401);
x_403 = l_System_FilePath_normalize(x_401);
x_404 = l_System_FilePath_normalize(x_402);
x_405 = lean_string_dec_eq(x_403, x_404);
lean_dec_ref(x_404);
lean_dec_ref(x_403);
if (x_405 == 0)
{
lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; 
x_406 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19;
x_407 = l_Lake_mkRelPathString(x_401);
x_408 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_408, 0, x_398);
lean_ctor_set(x_408, 1, x_407);
x_409 = l_Lake_Toml_RBDict_insert___redArg(x_395, x_406, x_408, x_400);
x_380 = x_409;
goto block_393;
}
else
{
lean_dec_ref(x_401);
x_380 = x_400;
goto block_393;
}
block_23:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; 
x_9 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3;
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 0);
lean_inc(x_12);
lean_dec_ref(x_11);
x_13 = lean_apply_1(x_12, x_2);
x_14 = lean_apply_1(x_10, x_13);
x_15 = l_Array_isEmpty___redArg(x_14);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_16 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_17 = lean_box(0);
x_18 = lean_array_size(x_14);
x_19 = 0;
x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_18, x_19, x_14);
x_21 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_21, 0, x_17);
lean_ctor_set(x_21, 1, x_20);
x_22 = l_Lake_Toml_RBDict_insert___redArg(x_16, x_7, x_21, x_8);
return x_22;
}
else
{
lean_dec_ref(x_14);
return x_8;
}
}
block_40:
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_26 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6;
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
lean_dec_ref(x_28);
lean_inc_ref(x_2);
x_30 = lean_apply_1(x_29, x_2);
x_31 = lean_apply_1(x_27, x_30);
x_32 = l_Array_isEmpty___redArg(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_33 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_34 = lean_box(0);
x_35 = lean_array_size(x_31);
x_36 = 0;
x_37 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_35, x_36, x_31);
x_38 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_38, 0, x_34);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lake_Toml_RBDict_insert___redArg(x_33, x_24, x_38, x_25);
x_8 = x_39;
goto block_23;
}
else
{
lean_dec_ref(x_31);
x_8 = x_25;
goto block_23;
}
}
block_55:
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_43 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9;
x_44 = lean_ctor_get(x_43, 0);
lean_inc(x_44);
x_45 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
lean_dec_ref(x_45);
lean_inc_ref(x_2);
x_47 = lean_apply_1(x_46, x_2);
x_48 = lean_apply_1(x_44, x_47);
if (lean_obj_tag(x_48) == 0)
{
x_25 = x_42;
goto block_40;
}
else
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; 
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
lean_dec_ref(x_48);
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_51, 0, x_50);
x_52 = lean_unbox(x_49);
lean_dec(x_49);
lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_52);
x_53 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_54 = l_Lake_Toml_RBDict_insert___redArg(x_53, x_41, x_51, x_42);
x_25 = x_54;
goto block_40;
}
}
block_75:
{
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; uint8_t x_68; 
x_58 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12;
x_59 = lean_ctor_get(x_58, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_58, 3);
lean_inc(x_60);
x_61 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
lean_dec_ref(x_61);
lean_inc_ref(x_2);
x_63 = lean_apply_1(x_62, x_2);
lean_inc_ref(x_63);
x_64 = lean_apply_1(x_59, x_63);
x_65 = lean_apply_1(x_60, x_63);
x_66 = lean_unbox(x_64);
x_67 = lean_unbox(x_65);
x_68 = l_Lake_instDecidableEqBackend(x_66, x_67);
if (x_68 == 0)
{
lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_69 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_70 = lean_unbox(x_64);
x_71 = l_Lake_Backend_toString(x_70);
x_72 = lean_box(0);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_72);
lean_ctor_set(x_73, 1, x_71);
x_74 = l_Lake_Toml_RBDict_insert___redArg(x_69, x_56, x_73, x_57);
x_42 = x_74;
goto block_55;
}
else
{
x_42 = x_57;
goto block_55;
}
}
block_86:
{
lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_80 = lean_box(0);
x_81 = lean_array_size(x_77);
x_82 = 0;
x_83 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_81, x_82, x_77);
x_84 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_84, 0, x_80);
lean_ctor_set(x_84, 1, x_83);
x_85 = l_Lake_Toml_RBDict_insert___redArg(x_79, x_76, x_84, x_78);
x_57 = x_85;
goto block_75;
}
block_100:
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; 
x_88 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15;
x_89 = lean_ctor_get(x_88, 0);
lean_inc(x_89);
x_90 = lean_ctor_get(x_88, 3);
lean_inc(x_90);
x_91 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
lean_dec_ref(x_91);
lean_inc_ref(x_2);
x_93 = lean_apply_1(x_92, x_2);
lean_inc_ref(x_93);
x_94 = lean_apply_1(x_89, x_93);
x_95 = lean_apply_1(x_90, x_93);
x_96 = lean_array_get_size(x_94);
x_97 = lean_array_get_size(x_95);
x_98 = lean_nat_dec_eq(x_96, x_97);
lean_dec(x_97);
if (x_98 == 0)
{
lean_dec(x_96);
lean_dec_ref(x_95);
x_77 = x_94;
x_78 = x_87;
goto block_86;
}
else
{
uint8_t x_99; 
x_99 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_94, x_95, x_96);
lean_dec_ref(x_95);
if (x_99 == 0)
{
x_77 = x_94;
x_78 = x_87;
goto block_86;
}
else
{
lean_dec_ref(x_94);
x_57 = x_87;
goto block_75;
}
}
}
block_111:
{
lean_object* x_104; lean_object* x_105; size_t x_106; size_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; 
x_104 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_105 = lean_box(0);
x_106 = lean_array_size(x_102);
x_107 = 0;
x_108 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_106, x_107, x_102);
x_109 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_109, 0, x_105);
lean_ctor_set(x_109, 1, x_108);
x_110 = l_Lake_Toml_RBDict_insert___redArg(x_104, x_101, x_109, x_103);
x_87 = x_110;
goto block_100;
}
block_125:
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; 
x_113 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18;
x_114 = lean_ctor_get(x_113, 0);
lean_inc(x_114);
x_115 = lean_ctor_get(x_113, 3);
lean_inc(x_115);
x_116 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_117 = lean_ctor_get(x_116, 0);
lean_inc(x_117);
lean_dec_ref(x_116);
lean_inc_ref(x_2);
x_118 = lean_apply_1(x_117, x_2);
lean_inc_ref(x_118);
x_119 = lean_apply_1(x_114, x_118);
x_120 = lean_apply_1(x_115, x_118);
x_121 = lean_array_get_size(x_119);
x_122 = lean_array_get_size(x_120);
x_123 = lean_nat_dec_eq(x_121, x_122);
lean_dec(x_122);
if (x_123 == 0)
{
lean_dec(x_121);
lean_dec_ref(x_120);
x_102 = x_119;
x_103 = x_112;
goto block_111;
}
else
{
uint8_t x_124; 
x_124 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_119, x_120, x_121);
lean_dec_ref(x_120);
if (x_124 == 0)
{
x_102 = x_119;
x_103 = x_112;
goto block_111;
}
else
{
lean_dec_ref(x_119);
x_87 = x_112;
goto block_100;
}
}
}
block_142:
{
lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; 
x_128 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21;
x_129 = lean_ctor_get(x_128, 0);
lean_inc(x_129);
x_130 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_131 = lean_ctor_get(x_130, 0);
lean_inc(x_131);
lean_dec_ref(x_130);
lean_inc_ref(x_2);
x_132 = lean_apply_1(x_131, x_2);
x_133 = lean_apply_1(x_129, x_132);
x_134 = l_Array_isEmpty___redArg(x_133);
if (x_134 == 0)
{
lean_object* x_135; lean_object* x_136; size_t x_137; size_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
x_135 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_136 = lean_box(0);
x_137 = lean_array_size(x_133);
x_138 = 0;
x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_137, x_138, x_133);
x_140 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_140, 0, x_136);
lean_ctor_set(x_140, 1, x_139);
x_141 = l_Lake_Toml_RBDict_insert___redArg(x_135, x_126, x_140, x_127);
x_112 = x_141;
goto block_125;
}
else
{
lean_dec_ref(x_133);
x_112 = x_127;
goto block_125;
}
}
block_159:
{
lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; 
x_145 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24;
x_146 = lean_ctor_get(x_145, 0);
lean_inc(x_146);
x_147 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_148 = lean_ctor_get(x_147, 0);
lean_inc(x_148);
lean_dec_ref(x_147);
lean_inc_ref(x_2);
x_149 = lean_apply_1(x_148, x_2);
x_150 = lean_apply_1(x_146, x_149);
x_151 = l_Array_isEmpty___redArg(x_150);
if (x_151 == 0)
{
lean_object* x_152; lean_object* x_153; size_t x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; 
x_152 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_153 = lean_box(0);
x_154 = lean_array_size(x_150);
x_155 = 0;
x_156 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(x_154, x_155, x_150);
x_157 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_157, 0, x_153);
lean_ctor_set(x_157, 1, x_156);
x_158 = l_Lake_Toml_RBDict_insert___redArg(x_152, x_143, x_157, x_144);
x_127 = x_158;
goto block_142;
}
else
{
lean_dec_ref(x_150);
x_127 = x_144;
goto block_142;
}
}
block_170:
{
lean_object* x_163; lean_object* x_164; size_t x_165; size_t x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; 
x_163 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_164 = lean_box(0);
x_165 = lean_array_size(x_161);
x_166 = 0;
x_167 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_165, x_166, x_161);
x_168 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_168, 0, x_164);
lean_ctor_set(x_168, 1, x_167);
x_169 = l_Lake_Toml_RBDict_insert___redArg(x_163, x_160, x_168, x_162);
x_144 = x_169;
goto block_159;
}
block_184:
{
lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; 
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27;
x_173 = lean_ctor_get(x_172, 0);
lean_inc(x_173);
x_174 = lean_ctor_get(x_172, 3);
lean_inc(x_174);
x_175 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_176 = lean_ctor_get(x_175, 0);
lean_inc(x_176);
lean_dec_ref(x_175);
lean_inc_ref(x_2);
x_177 = lean_apply_1(x_176, x_2);
lean_inc_ref(x_177);
x_178 = lean_apply_1(x_173, x_177);
x_179 = lean_apply_1(x_174, x_177);
x_180 = lean_array_get_size(x_178);
x_181 = lean_array_get_size(x_179);
x_182 = lean_nat_dec_eq(x_180, x_181);
lean_dec(x_181);
if (x_182 == 0)
{
lean_dec(x_180);
lean_dec_ref(x_179);
x_161 = x_178;
x_162 = x_171;
goto block_170;
}
else
{
uint8_t x_183; 
x_183 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_178, x_179, x_180);
lean_dec_ref(x_179);
if (x_183 == 0)
{
x_161 = x_178;
x_162 = x_171;
goto block_170;
}
else
{
lean_dec_ref(x_178);
x_144 = x_171;
goto block_159;
}
}
}
block_199:
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; 
x_187 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30;
x_188 = lean_ctor_get(x_187, 0);
lean_inc(x_188);
x_189 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_190 = lean_ctor_get(x_189, 0);
lean_inc(x_190);
lean_dec_ref(x_189);
lean_inc_ref(x_2);
x_191 = lean_apply_1(x_190, x_2);
x_192 = lean_apply_1(x_188, x_191);
x_193 = l_Array_isEmpty___redArg(x_192);
if (x_193 == 0)
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; 
x_194 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_195 = lean_box(0);
x_196 = l_Lake_Toml_encodeLeanOptions(x_192);
lean_dec_ref(x_192);
x_197 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_197, 0, x_195);
lean_ctor_set(x_197, 1, x_196);
x_198 = l_Lake_Toml_RBDict_insert___redArg(x_194, x_185, x_197, x_186);
x_171 = x_198;
goto block_184;
}
else
{
lean_dec_ref(x_192);
x_171 = x_186;
goto block_184;
}
}
block_210:
{
lean_object* x_203; lean_object* x_204; size_t x_205; size_t x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; 
x_203 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_204 = lean_box(0);
x_205 = lean_array_size(x_202);
x_206 = 0;
x_207 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_205, x_206, x_202);
x_208 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_208, 0, x_204);
lean_ctor_set(x_208, 1, x_207);
x_209 = l_Lake_Toml_RBDict_insert___redArg(x_203, x_200, x_208, x_201);
x_186 = x_209;
goto block_199;
}
block_224:
{
lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; 
x_212 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33;
x_213 = lean_ctor_get(x_212, 0);
lean_inc(x_213);
x_214 = lean_ctor_get(x_212, 3);
lean_inc(x_214);
x_215 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_216 = lean_ctor_get(x_215, 0);
lean_inc(x_216);
lean_dec_ref(x_215);
lean_inc_ref(x_2);
x_217 = lean_apply_1(x_216, x_2);
lean_inc_ref(x_217);
x_218 = lean_apply_1(x_213, x_217);
x_219 = lean_apply_1(x_214, x_217);
x_220 = lean_array_get_size(x_218);
x_221 = lean_array_get_size(x_219);
x_222 = lean_nat_dec_eq(x_220, x_221);
lean_dec(x_221);
if (x_222 == 0)
{
lean_dec(x_220);
lean_dec_ref(x_219);
x_201 = x_211;
x_202 = x_218;
goto block_210;
}
else
{
uint8_t x_223; 
x_223 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_218, x_219, x_220);
lean_dec_ref(x_219);
if (x_223 == 0)
{
x_201 = x_211;
x_202 = x_218;
goto block_210;
}
else
{
lean_dec_ref(x_218);
x_186 = x_211;
goto block_199;
}
}
}
block_235:
{
lean_object* x_228; lean_object* x_229; size_t x_230; size_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; 
x_228 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_229 = lean_box(0);
x_230 = lean_array_size(x_226);
x_231 = 0;
x_232 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_230, x_231, x_226);
x_233 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_233, 0, x_229);
lean_ctor_set(x_233, 1, x_232);
x_234 = l_Lake_Toml_RBDict_insert___redArg(x_228, x_225, x_233, x_227);
x_211 = x_234;
goto block_224;
}
block_249:
{
lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; 
x_237 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36;
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
x_239 = lean_ctor_get(x_237, 3);
lean_inc(x_239);
x_240 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_241 = lean_ctor_get(x_240, 0);
lean_inc(x_241);
lean_dec_ref(x_240);
lean_inc_ref(x_2);
x_242 = lean_apply_1(x_241, x_2);
lean_inc_ref(x_242);
x_243 = lean_apply_1(x_238, x_242);
x_244 = lean_apply_1(x_239, x_242);
x_245 = lean_array_get_size(x_243);
x_246 = lean_array_get_size(x_244);
x_247 = lean_nat_dec_eq(x_245, x_246);
lean_dec(x_246);
if (x_247 == 0)
{
lean_dec(x_245);
lean_dec_ref(x_244);
x_226 = x_243;
x_227 = x_236;
goto block_235;
}
else
{
uint8_t x_248; 
x_248 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_243, x_244, x_245);
lean_dec_ref(x_244);
if (x_248 == 0)
{
x_226 = x_243;
x_227 = x_236;
goto block_235;
}
else
{
lean_dec_ref(x_243);
x_211 = x_236;
goto block_224;
}
}
}
block_260:
{
lean_object* x_253; lean_object* x_254; size_t x_255; size_t x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; 
x_253 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_254 = lean_box(0);
x_255 = lean_array_size(x_252);
x_256 = 0;
x_257 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_255, x_256, x_252);
x_258 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_258, 0, x_254);
lean_ctor_set(x_258, 1, x_257);
x_259 = l_Lake_Toml_RBDict_insert___redArg(x_253, x_250, x_258, x_251);
x_236 = x_259;
goto block_249;
}
block_274:
{
lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; 
x_262 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39;
x_263 = lean_ctor_get(x_262, 0);
lean_inc(x_263);
x_264 = lean_ctor_get(x_262, 3);
lean_inc(x_264);
x_265 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_266 = lean_ctor_get(x_265, 0);
lean_inc(x_266);
lean_dec_ref(x_265);
lean_inc_ref(x_2);
x_267 = lean_apply_1(x_266, x_2);
lean_inc_ref(x_267);
x_268 = lean_apply_1(x_263, x_267);
x_269 = lean_apply_1(x_264, x_267);
x_270 = lean_array_get_size(x_268);
x_271 = lean_array_get_size(x_269);
x_272 = lean_nat_dec_eq(x_270, x_271);
lean_dec(x_271);
if (x_272 == 0)
{
lean_dec(x_270);
lean_dec_ref(x_269);
x_251 = x_261;
x_252 = x_268;
goto block_260;
}
else
{
uint8_t x_273; 
x_273 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_268, x_269, x_270);
lean_dec_ref(x_269);
if (x_273 == 0)
{
x_251 = x_261;
x_252 = x_268;
goto block_260;
}
else
{
lean_dec_ref(x_268);
x_236 = x_261;
goto block_249;
}
}
}
block_289:
{
lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; uint8_t x_283; 
x_277 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42;
x_278 = lean_ctor_get(x_277, 0);
lean_inc(x_278);
x_279 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_280 = lean_ctor_get(x_279, 0);
lean_inc(x_280);
lean_dec_ref(x_279);
lean_inc_ref(x_2);
x_281 = lean_apply_1(x_280, x_2);
x_282 = lean_apply_1(x_278, x_281);
x_283 = l_Array_isEmpty___redArg(x_282);
if (x_283 == 0)
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; 
x_284 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_285 = lean_box(0);
x_286 = l_Lake_Toml_encodeLeanOptions(x_282);
lean_dec_ref(x_282);
x_287 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_287, 0, x_285);
lean_ctor_set(x_287, 1, x_286);
x_288 = l_Lake_Toml_RBDict_insert___redArg(x_284, x_275, x_287, x_276);
x_261 = x_288;
goto block_274;
}
else
{
lean_dec_ref(x_282);
x_261 = x_276;
goto block_274;
}
}
block_309:
{
lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_300; uint8_t x_301; uint8_t x_302; 
x_292 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0;
x_293 = lean_ctor_get(x_292, 0);
lean_inc(x_293);
x_294 = lean_ctor_get(x_292, 3);
lean_inc(x_294);
x_295 = l_Lake_LeanExeConfig_toLeanConfig___proj(x_1);
x_296 = lean_ctor_get(x_295, 0);
lean_inc(x_296);
lean_dec_ref(x_295);
lean_inc_ref(x_2);
x_297 = lean_apply_1(x_296, x_2);
lean_inc_ref(x_297);
x_298 = lean_apply_1(x_293, x_297);
x_299 = lean_apply_1(x_294, x_297);
x_300 = lean_unbox(x_298);
x_301 = lean_unbox(x_299);
x_302 = l_Lake_instDecidableEqBuildType(x_300, x_301);
if (x_302 == 0)
{
lean_object* x_303; uint8_t x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; 
x_303 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_304 = lean_unbox(x_298);
x_305 = l_Lake_BuildType_toString(x_304);
x_306 = lean_box(0);
x_307 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_307, 0, x_306);
lean_ctor_set(x_307, 1, x_305);
x_308 = l_Lake_Toml_RBDict_insert___redArg(x_303, x_290, x_307, x_291);
x_276 = x_308;
goto block_289;
}
else
{
x_276 = x_291;
goto block_289;
}
}
block_317:
{
lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; 
x_313 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_314 = lean_box(0);
x_315 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_315, 0, x_314);
lean_ctor_set_uint8(x_315, sizeof(void*)*1, x_312);
x_316 = l_Lake_Toml_RBDict_insert___redArg(x_313, x_310, x_315, x_311);
x_291 = x_316;
goto block_309;
}
block_329:
{
lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; 
x_319 = l_Lake_LeanExeConfig_supportInterpreter___proj(x_1);
x_320 = lean_ctor_get(x_319, 0);
lean_inc(x_320);
x_321 = lean_ctor_get(x_319, 3);
lean_inc(x_321);
lean_dec_ref(x_319);
lean_inc_ref(x_2);
x_322 = lean_apply_1(x_320, x_2);
lean_inc_ref(x_2);
x_323 = lean_apply_1(x_321, x_2);
x_324 = lean_unbox(x_322);
if (x_324 == 0)
{
uint8_t x_325; 
x_325 = lean_unbox(x_323);
if (x_325 == 0)
{
x_291 = x_318;
goto block_309;
}
else
{
uint8_t x_326; 
x_326 = lean_unbox(x_322);
x_311 = x_318;
x_312 = x_326;
goto block_317;
}
}
else
{
uint8_t x_327; 
x_327 = lean_unbox(x_323);
if (x_327 == 0)
{
uint8_t x_328; 
x_328 = lean_unbox(x_322);
x_311 = x_318;
x_312 = x_328;
goto block_317;
}
else
{
x_291 = x_318;
goto block_309;
}
}
}
block_340:
{
lean_object* x_333; lean_object* x_334; size_t x_335; size_t x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; 
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_334 = lean_box(0);
x_335 = lean_array_size(x_331);
x_336 = 0;
x_337 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_335, x_336, x_331);
x_338 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_338, 0, x_334);
lean_ctor_set(x_338, 1, x_337);
x_339 = l_Lake_Toml_RBDict_insert___redArg(x_333, x_330, x_338, x_332);
x_318 = x_339;
goto block_329;
}
block_351:
{
lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; 
x_342 = l_Lake_LeanExeConfig_extraDepTargets___proj(x_1);
x_343 = lean_ctor_get(x_342, 0);
lean_inc(x_343);
x_344 = lean_ctor_get(x_342, 3);
lean_inc(x_344);
lean_dec_ref(x_342);
lean_inc_ref(x_2);
x_345 = lean_apply_1(x_343, x_2);
lean_inc_ref(x_2);
x_346 = lean_apply_1(x_344, x_2);
x_347 = lean_array_get_size(x_345);
x_348 = lean_array_get_size(x_346);
x_349 = lean_nat_dec_eq(x_347, x_348);
lean_dec(x_348);
if (x_349 == 0)
{
lean_dec(x_347);
lean_dec_ref(x_346);
x_331 = x_345;
x_332 = x_341;
goto block_340;
}
else
{
uint8_t x_350; 
x_350 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_345, x_346, x_347);
lean_dec_ref(x_346);
if (x_350 == 0)
{
x_331 = x_345;
x_332 = x_341;
goto block_340;
}
else
{
lean_dec_ref(x_345);
x_318 = x_341;
goto block_329;
}
}
}
block_365:
{
lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; 
x_354 = l_Lake_LeanExeConfig_needs___proj(x_1);
x_355 = lean_ctor_get(x_354, 0);
lean_inc(x_355);
lean_dec_ref(x_354);
lean_inc_ref(x_2);
x_356 = lean_apply_1(x_355, x_2);
x_357 = l_Array_isEmpty___redArg(x_356);
if (x_357 == 0)
{
lean_object* x_358; lean_object* x_359; size_t x_360; size_t x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; 
x_358 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_359 = lean_box(0);
x_360 = lean_array_size(x_356);
x_361 = 0;
x_362 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__2(x_360, x_361, x_356);
x_363 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_363, 0, x_359);
lean_ctor_set(x_363, 1, x_362);
x_364 = l_Lake_Toml_RBDict_insert___redArg(x_358, x_352, x_363, x_353);
x_341 = x_364;
goto block_351;
}
else
{
lean_dec_ref(x_356);
x_341 = x_353;
goto block_351;
}
}
block_378:
{
lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; 
lean_inc(x_1);
x_368 = l_Lake_LeanExeConfig_exeName___proj(x_1);
x_369 = lean_ctor_get(x_368, 0);
lean_inc(x_369);
x_370 = lean_ctor_get(x_368, 3);
lean_inc(x_370);
lean_dec_ref(x_368);
lean_inc_ref(x_2);
x_371 = lean_apply_1(x_369, x_2);
lean_inc_ref(x_2);
x_372 = lean_apply_1(x_370, x_2);
x_373 = lean_string_dec_eq(x_371, x_372);
lean_dec_ref(x_372);
if (x_373 == 0)
{
lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; 
x_374 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_375 = lean_box(0);
x_376 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_376, 0, x_375);
lean_ctor_set(x_376, 1, x_371);
x_377 = l_Lake_Toml_RBDict_insert___redArg(x_374, x_366, x_376, x_367);
x_353 = x_377;
goto block_365;
}
else
{
lean_dec_ref(x_371);
x_353 = x_367;
goto block_365;
}
}
block_393:
{
lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; 
lean_inc(x_1);
x_381 = l_Lake_LeanExeConfig_root___proj(x_1);
x_382 = lean_ctor_get(x_381, 0);
lean_inc(x_382);
x_383 = lean_ctor_get(x_381, 3);
lean_inc(x_383);
lean_dec_ref(x_381);
lean_inc_ref(x_2);
x_384 = lean_apply_1(x_382, x_2);
lean_inc_ref(x_2);
x_385 = lean_apply_1(x_383, x_2);
x_386 = lean_name_eq(x_384, x_385);
lean_dec(x_385);
if (x_386 == 0)
{
lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; 
x_387 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_388 = 1;
x_389 = l_Lean_Name_toString(x_384, x_388);
x_390 = lean_box(0);
x_391 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_391, 0, x_390);
lean_ctor_set(x_391, 1, x_389);
x_392 = l_Lake_Toml_RBDict_insert___redArg(x_387, x_379, x_391, x_380);
x_367 = x_392;
goto block_378;
}
else
{
lean_dec(x_384);
x_367 = x_380;
goto block_378;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_instToToml___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_box(0);
x_4 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml(x_1, x_2, x_4);
x_6 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_instToToml(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_instToToml___lam__0), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("text", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_15; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; 
lean_inc(x_1);
x_4 = l_Lake_InputFileConfig_path___proj(x_1);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 3);
lean_inc(x_6);
lean_dec_ref(x_4);
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1;
x_27 = l_Lake_Dependency_toToml___closed__12;
x_28 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_29 = 1;
lean_inc(x_1);
x_30 = l_Lean_Name_toString(x_1, x_29);
x_31 = lean_box(0);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_30);
x_33 = l_Lake_Toml_RBDict_insert___redArg(x_28, x_27, x_32, x_3);
lean_inc_ref(x_2);
x_34 = lean_apply_1(x_5, x_2);
lean_inc_ref(x_2);
x_35 = lean_apply_1(x_6, x_2);
lean_inc_ref(x_34);
x_36 = l_System_FilePath_normalize(x_34);
x_37 = l_System_FilePath_normalize(x_35);
x_38 = lean_string_dec_eq(x_36, x_37);
lean_dec_ref(x_37);
lean_dec_ref(x_36);
if (x_38 == 0)
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 
x_39 = l_Lake_PathPatDescr_toToml_x3f___closed__1;
x_40 = l_Lake_mkRelPathString(x_34);
x_41 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_41, 0, x_31);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Lake_Toml_RBDict_insert___redArg(x_28, x_39, x_41, x_33);
x_15 = x_42;
goto block_26;
}
else
{
lean_dec_ref(x_34);
x_15 = x_33;
goto block_26;
}
block_14:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_9);
x_13 = l_Lake_Toml_RBDict_insert___redArg(x_10, x_7, x_12, x_8);
return x_13;
}
block_26:
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_16 = l_Lake_InputFileConfig_text___proj(x_1);
lean_dec(x_1);
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
x_18 = lean_ctor_get(x_16, 3);
lean_inc(x_18);
lean_dec_ref(x_16);
lean_inc_ref(x_2);
x_19 = lean_apply_1(x_17, x_2);
x_20 = lean_apply_1(x_18, x_2);
x_21 = lean_unbox(x_19);
if (x_21 == 0)
{
uint8_t x_22; 
x_22 = lean_unbox(x_20);
if (x_22 == 0)
{
return x_15;
}
else
{
uint8_t x_23; 
x_23 = lean_unbox(x_19);
x_8 = x_15;
x_9 = x_23;
goto block_14;
}
}
else
{
uint8_t x_24; 
x_24 = lean_unbox(x_20);
if (x_24 == 0)
{
uint8_t x_25; 
x_25 = lean_unbox(x_19);
x_8 = x_15;
x_9 = x_25;
goto block_14;
}
else
{
return x_15;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_instToToml___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_box(0);
x_4 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml(x_1, x_2, x_4);
x_6 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_instToToml(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_instToToml___lam__0), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_10; 
x_10 = lean_usize_dec_eq(x_2, x_3);
if (x_10 == 0)
{
if (lean_obj_tag(x_4) == 0)
{
x_5 = x_4;
goto block_9;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_4, 0);
lean_inc(x_11);
lean_dec_ref(x_4);
x_12 = lean_array_uget(x_1, x_2);
x_13 = l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(x_12);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; 
lean_dec(x_11);
x_14 = lean_box(0);
x_5 = x_14;
goto block_9;
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_13);
if (x_15 == 0)
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_13, 0);
x_17 = lean_array_push(x_11, x_16);
lean_ctor_set(x_13, 0, x_17);
x_5 = x_13;
goto block_9;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_18 = lean_ctor_get(x_13, 0);
lean_inc(x_18);
lean_dec(x_13);
x_19 = lean_array_push(x_11, x_18);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_19);
x_5 = x_20;
goto block_9;
}
}
}
}
else
{
return x_4;
}
block_9:
{
size_t x_6; size_t x_7; 
x_6 = 1;
x_7 = lean_usize_add(x_2, x_6);
x_2 = x_7;
x_4 = x_5;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1;
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_2, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_3;
}
else
{
uint8_t x_6; 
x_6 = lean_nat_dec_le(x_4, x_4);
if (x_6 == 0)
{
lean_dec(x_4);
return x_3;
}
else
{
size_t x_7; size_t x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_7, x_8, x_3);
return x_9;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0___redArg(lean_object* x_1) {
_start:
{
switch (lean_obj_tag(x_1)) {
case 0:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(x_2);
if (lean_obj_tag(x_3) == 0)
{
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_7 = lean_box(0);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_9 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_10 = l_Lake_Toml_RBDict_insert___redArg(x_8, x_6, x_5, x_9);
x_11 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_3, 0, x_11);
return x_3;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_3, 0);
lean_inc(x_12);
lean_dec(x_3);
x_13 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__1;
x_14 = lean_box(0);
x_15 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_16 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_17 = l_Lake_Toml_RBDict_insert___redArg(x_15, x_13, x_12, x_16);
x_18 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_18, 0, x_14);
lean_ctor_set(x_18, 1, x_17);
x_19 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_19, 0, x_18);
return x_19;
}
}
}
case 1:
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_20);
lean_dec_ref(x_1);
x_21 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(x_20);
lean_dec_ref(x_20);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; 
x_22 = lean_box(0);
return x_22;
}
else
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_21);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_24 = lean_ctor_get(x_21, 0);
x_25 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_24);
x_28 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_29 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_30 = l_Lake_Toml_RBDict_insert___redArg(x_28, x_25, x_27, x_29);
x_31 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_31, 0, x_26);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_21, 0, x_31);
return x_21;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_32 = lean_ctor_get(x_21, 0);
lean_inc(x_32);
lean_dec(x_21);
x_33 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__3;
x_34 = lean_box(0);
x_35 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_32);
x_36 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_37 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_38 = l_Lake_Toml_RBDict_insert___redArg(x_36, x_33, x_35, x_37);
x_39 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_39, 0, x_34);
lean_ctor_set(x_39, 1, x_38);
x_40 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_40, 0, x_39);
return x_40;
}
}
}
case 2:
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_41);
lean_dec_ref(x_1);
x_42 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(x_41);
lean_dec_ref(x_41);
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; 
x_43 = lean_box(0);
return x_43;
}
else
{
uint8_t x_44; 
x_44 = !lean_is_exclusive(x_42);
if (x_44 == 0)
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_45 = lean_ctor_get(x_42, 0);
x_46 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_47 = lean_box(0);
x_48 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_48, 0, x_47);
lean_ctor_set(x_48, 1, x_45);
x_49 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_50 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_51 = l_Lake_Toml_RBDict_insert___redArg(x_49, x_46, x_48, x_50);
x_52 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_52, 0, x_47);
lean_ctor_set(x_52, 1, x_51);
lean_ctor_set(x_42, 0, x_52);
return x_42;
}
else
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_53 = lean_ctor_get(x_42, 0);
lean_inc(x_53);
lean_dec(x_42);
x_54 = l_Lake_PatternDescr_toToml_x3f___redArg___closed__5;
x_55 = lean_box(0);
x_56 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_56, 0, x_55);
lean_ctor_set(x_56, 1, x_53);
x_57 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_58 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_59 = l_Lake_Toml_RBDict_insert___redArg(x_57, x_54, x_56, x_58);
x_60 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_60, 0, x_55);
lean_ctor_set(x_60, 1, x_59);
x_61 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_61, 0, x_60);
return x_61;
}
}
}
default: 
{
lean_object* x_62; lean_object* x_63; 
x_62 = lean_ctor_get(x_1, 0);
lean_inc(x_62);
lean_dec_ref(x_1);
x_63 = l_Lake_PathPatDescr_toToml_x3f(x_62);
return x_63;
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = lean_ctor_get(x_1, 1);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 2);
lean_inc(x_3);
lean_dec_ref(x_1);
switch (lean_obj_tag(x_2)) {
case 0:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_15; 
x_15 = lean_box(0);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec_ref(x_3);
x_17 = l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0___redArg(x_16);
return x_17;
}
}
case 1:
{
lean_object* x_18; 
lean_dec(x_3);
x_18 = lean_ctor_get(x_2, 0);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_19 = lean_ctor_get(x_2, 1);
x_20 = l_Lake_Pattern_toToml_x3f___redArg___closed__2;
x_21 = lean_string_dec_eq(x_19, x_20);
if (x_21 == 0)
{
lean_object* x_22; uint8_t x_23; 
x_22 = l_Lake_Pattern_toToml_x3f___redArg___closed__3;
x_23 = lean_string_dec_eq(x_19, x_22);
if (x_23 == 0)
{
goto block_14;
}
else
{
lean_object* x_24; 
lean_dec_ref(x_2);
x_24 = l_Lake_Pattern_toToml_x3f___redArg___closed__6;
return x_24;
}
}
else
{
lean_object* x_25; 
lean_dec_ref(x_2);
x_25 = lean_box(0);
return x_25;
}
}
else
{
goto block_14;
}
}
default: 
{
lean_dec(x_3);
goto block_14;
}
}
block_14:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_4 = lean_box(0);
x_5 = l_Lake_Pattern_toToml_x3f___redArg___closed__1;
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_7 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_8 = 1;
x_9 = l_Lean_Name_toString(x_2, x_8);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_4);
lean_ctor_set(x_10, 1, x_9);
x_11 = l_Lake_Toml_RBDict_insert___redArg(x_6, x_5, x_10, x_7);
x_12 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_12, 0, x_4);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_13, 0, x_12);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("filter", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_25; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; 
lean_inc(x_1);
x_4 = l_Lake_InputDirConfig_path___proj(x_1);
x_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 3);
lean_inc(x_6);
lean_dec_ref(x_4);
x_7 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1;
x_17 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1;
x_37 = l_Lake_Dependency_toToml___closed__12;
x_38 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_39 = 1;
lean_inc(x_1);
x_40 = l_Lean_Name_toString(x_1, x_39);
x_41 = lean_box(0);
x_42 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_40);
x_43 = l_Lake_Toml_RBDict_insert___redArg(x_38, x_37, x_42, x_3);
lean_inc_ref(x_2);
x_44 = lean_apply_1(x_5, x_2);
lean_inc_ref(x_2);
x_45 = lean_apply_1(x_6, x_2);
lean_inc_ref(x_44);
x_46 = l_System_FilePath_normalize(x_44);
x_47 = l_System_FilePath_normalize(x_45);
x_48 = lean_string_dec_eq(x_46, x_47);
lean_dec_ref(x_47);
lean_dec_ref(x_46);
if (x_48 == 0)
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 
x_49 = l_Lake_PathPatDescr_toToml_x3f___closed__1;
x_50 = l_Lake_mkRelPathString(x_44);
x_51 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_51, 0, x_41);
lean_ctor_set(x_51, 1, x_50);
x_52 = l_Lake_Toml_RBDict_insert___redArg(x_38, x_49, x_51, x_43);
x_25 = x_52;
goto block_36;
}
else
{
lean_dec_ref(x_44);
x_25 = x_43;
goto block_36;
}
block_16:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = l_Lake_InputDirConfig_filter___proj(x_1);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = lean_apply_1(x_10, x_2);
x_12 = l_Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0___redArg(x_11);
if (lean_obj_tag(x_12) == 1)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec_ref(x_12);
x_14 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_15 = l_Lake_Toml_RBDict_insert___redArg(x_14, x_7, x_13, x_8);
return x_15;
}
else
{
lean_dec(x_12);
return x_8;
}
}
block_24:
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_21 = lean_box(0);
x_22 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_19);
x_23 = l_Lake_Toml_RBDict_insert___redArg(x_20, x_17, x_22, x_18);
x_8 = x_23;
goto block_16;
}
block_36:
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_26 = l_Lake_InputDirConfig_text___proj(x_1);
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
x_28 = lean_ctor_get(x_26, 3);
lean_inc(x_28);
lean_dec_ref(x_26);
lean_inc_ref(x_2);
x_29 = lean_apply_1(x_27, x_2);
lean_inc_ref(x_2);
x_30 = lean_apply_1(x_28, x_2);
x_31 = lean_unbox(x_29);
if (x_31 == 0)
{
uint8_t x_32; 
x_32 = lean_unbox(x_30);
if (x_32 == 0)
{
x_8 = x_25;
goto block_16;
}
else
{
uint8_t x_33; 
x_33 = lean_unbox(x_29);
x_18 = x_25;
x_19 = x_33;
goto block_24;
}
}
else
{
uint8_t x_34; 
x_34 = lean_unbox(x_30);
if (x_34 == 0)
{
uint8_t x_35; 
x_35 = lean_unbox(x_29);
x_18 = x_25;
x_19 = x_35;
goto block_24;
}
else
{
x_8 = x_25;
goto block_16;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0___redArg(x_1);
lean_dec_ref(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00__private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_5, x_6, x_4);
lean_dec_ref(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_instToToml___lam__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_3 = lean_box(0);
x_4 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml(x_1, x_2, x_4);
x_6 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_6, 0, x_3);
lean_ctor_set(x_6, 1, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_instToToml(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_instToToml___lam__0), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lake_WorkspaceConfig_packagesDir___proj;
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("packagesDir", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0;
x_4 = lean_ctor_get(x_3, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 3);
lean_inc(x_5);
lean_inc_ref(x_1);
x_6 = lean_apply_1(x_4, x_1);
x_7 = lean_apply_1(x_5, x_1);
lean_inc_ref(x_6);
x_8 = l_System_FilePath_normalize(x_6);
x_9 = l_System_FilePath_normalize(x_7);
x_10 = lean_string_dec_eq(x_8, x_9);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_11 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2;
x_12 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_13 = l_Lake_mkRelPathString(x_6);
x_14 = lean_box(0);
x_15 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
x_16 = l_Lake_Toml_RBDict_insert___redArg(x_12, x_11, x_15, x_2);
return x_16;
}
else
{
lean_dec_ref(x_6);
return x_2;
}
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml___lam__0(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_box(0);
x_3 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml(x_1, x_3);
x_5 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_5, 0, x_2);
lean_ctor_set(x_5, 1, x_4);
return x_5;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml___lam__0), 1, 0);
return x_1;
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_unsigned_to_nat(0u);
x_5 = lean_nat_dec_eq(x_3, x_4);
if (x_5 == 1)
{
lean_dec(x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_6 = lean_unsigned_to_nat(1u);
x_7 = lean_nat_sub(x_3, x_6);
lean_dec(x_3);
x_8 = lean_array_fget_borrowed(x_1, x_7);
x_9 = lean_array_fget_borrowed(x_2, x_7);
lean_inc(x_8);
x_10 = l_System_FilePath_normalize(x_8);
lean_inc(x_9);
x_11 = l_System_FilePath_normalize(x_9);
x_12 = lean_string_dec_eq(x_10, x_11);
lean_dec_ref(x_11);
lean_dec_ref(x_10);
if (x_12 == 0)
{
lean_dec(x_7);
return x_12;
}
else
{
x_3 = x_7;
goto _start;
}
}
}
}
LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg(x_1, x_2, x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = l_Lake_mkRelPathString(x_5);
x_9 = lean_box(0);
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = 1;
x_12 = lean_usize_add(x_2, x_11);
x_13 = lean_array_uset(x_7, x_2, x_10);
x_2 = x_12;
x_3 = x_13;
goto _start;
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("restoreAllArtifacts", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("enableArtifactCache\?", 20, 20);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("reservoir", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("readmeFile", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("licenseFiles", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("license", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("homepage", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("keywords", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("description", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("versionTags", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lintDriverArgs", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lintDriver", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("testDriverArgs", 14, 14);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("testDriver", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("preferReleaseBuild", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("buildArchive", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("releaseRepo", 11, 11);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("irDir", 5, 5);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("binDir", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("nativeLibDir", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("leanLibDir", 10, 10);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("buildDir", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moreGlobalServerArgs", 20, 20);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("manifestFile", 12, 12);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("bootstrap", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_25; lean_object* x_26; lean_object* x_42; lean_object* x_43; lean_object* x_57; lean_object* x_58; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_88; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_113; lean_object* x_127; lean_object* x_128; lean_object* x_144; lean_object* x_145; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_172; lean_object* x_186; lean_object* x_187; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_212; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_237; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_262; lean_object* x_276; lean_object* x_277; lean_object* x_291; lean_object* x_292; lean_object* x_311; lean_object* x_312; lean_object* x_330; uint8_t x_331; lean_object* x_332; lean_object* x_338; lean_object* x_350; uint8_t x_351; lean_object* x_352; lean_object* x_358; lean_object* x_370; lean_object* x_371; uint8_t x_372; lean_object* x_378; lean_object* x_390; lean_object* x_391; lean_object* x_402; lean_object* x_403; uint8_t x_404; lean_object* x_410; lean_object* x_422; lean_object* x_423; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_449; lean_object* x_460; lean_object* x_461; lean_object* x_473; lean_object* x_474; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_497; lean_object* x_508; lean_object* x_509; lean_object* x_521; lean_object* x_522; lean_object* x_531; lean_object* x_532; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_556; lean_object* x_567; lean_object* x_568; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_591; lean_object* x_602; lean_object* x_603; lean_object* x_615; lean_object* x_616; uint8_t x_617; lean_object* x_623; lean_object* x_635; lean_object* x_636; lean_object* x_646; lean_object* x_647; lean_object* x_657; lean_object* x_658; lean_object* x_673; lean_object* x_674; lean_object* x_689; lean_object* x_690; lean_object* x_705; lean_object* x_706; lean_object* x_721; lean_object* x_722; lean_object* x_737; lean_object* x_738; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_764; lean_object* x_775; uint8_t x_776; lean_object* x_777; lean_object* x_783; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_806; lean_object* x_817; lean_object* x_818; lean_object* x_829; lean_object* x_830; lean_object* x_831; uint8_t x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_842; uint8_t x_843; 
x_5 = l_Lake_PackageConfig_bootstrap___proj(x_1, x_2);
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
x_7 = lean_ctor_get(x_5, 3);
lean_inc(x_7);
lean_dec_ref(x_5);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2;
x_25 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5;
x_42 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8;
x_57 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11;
x_77 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14;
x_102 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17;
x_127 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20;
x_144 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23;
x_161 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26;
x_186 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29;
x_201 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32;
x_226 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35;
x_251 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38;
x_276 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41;
x_291 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44;
x_311 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2;
x_330 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1;
x_350 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11;
x_370 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1;
x_390 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3;
x_402 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5;
x_422 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7;
x_438 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9;
x_460 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11;
x_473 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13;
x_486 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15;
x_508 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17;
x_521 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19;
x_531 = l_Lake_Dependency_toToml___closed__9;
x_545 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21;
x_567 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23;
x_580 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25;
x_602 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27;
x_615 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29;
x_635 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31;
x_646 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33;
x_657 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35;
x_673 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37;
x_689 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39;
x_705 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41;
x_721 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43;
x_737 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19;
x_753 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45;
x_775 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5;
x_795 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7;
x_817 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47;
x_829 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49;
x_830 = l_Lake_Dependency_toToml___closed__12;
x_831 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_832 = 1;
lean_inc(x_2);
x_833 = l_Lean_Name_toString(x_2, x_832);
x_834 = lean_box(0);
x_835 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_835, 0, x_834);
lean_ctor_set(x_835, 1, x_833);
x_836 = l_Lake_Toml_RBDict_insert___redArg(x_831, x_830, x_835, x_4);
lean_inc_ref(x_3);
x_837 = lean_apply_1(x_6, x_3);
lean_inc_ref(x_3);
x_842 = lean_apply_1(x_7, x_3);
x_843 = lean_unbox(x_837);
if (x_843 == 0)
{
uint8_t x_844; 
x_844 = lean_unbox(x_842);
if (x_844 == 0)
{
x_818 = x_836;
goto block_828;
}
else
{
goto block_841;
}
}
else
{
uint8_t x_845; 
x_845 = lean_unbox(x_842);
if (x_845 == 0)
{
goto block_841;
}
else
{
x_818 = x_836;
goto block_828;
}
}
block_24:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_10 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3;
x_11 = lean_ctor_get(x_10, 0);
lean_inc(x_11);
x_12 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
lean_dec(x_2);
x_13 = lean_ctor_get(x_12, 0);
lean_inc(x_13);
lean_dec_ref(x_12);
x_14 = lean_apply_1(x_13, x_3);
x_15 = lean_apply_1(x_11, x_14);
x_16 = l_Array_isEmpty___redArg(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; 
x_17 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_18 = lean_box(0);
x_19 = lean_array_size(x_15);
x_20 = 0;
x_21 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_19, x_20, x_15);
x_22 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_22, 0, x_18);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lake_Toml_RBDict_insert___redArg(x_17, x_8, x_22, x_9);
return x_23;
}
else
{
lean_dec_ref(x_15);
return x_9;
}
}
block_41:
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_27 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6;
x_28 = lean_ctor_get(x_27, 0);
lean_inc(x_28);
x_29 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
lean_dec_ref(x_29);
lean_inc_ref(x_3);
x_31 = lean_apply_1(x_30, x_3);
x_32 = lean_apply_1(x_28, x_31);
x_33 = l_Array_isEmpty___redArg(x_32);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_34 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_35 = lean_box(0);
x_36 = lean_array_size(x_32);
x_37 = 0;
x_38 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_36, x_37, x_32);
x_39 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_39, 0, x_35);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_Lake_Toml_RBDict_insert___redArg(x_34, x_25, x_39, x_26);
x_9 = x_40;
goto block_24;
}
else
{
lean_dec_ref(x_32);
x_9 = x_26;
goto block_24;
}
}
block_56:
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_44 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9;
x_45 = lean_ctor_get(x_44, 0);
lean_inc(x_45);
x_46 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
lean_dec_ref(x_46);
lean_inc_ref(x_3);
x_48 = lean_apply_1(x_47, x_3);
x_49 = lean_apply_1(x_45, x_48);
if (lean_obj_tag(x_49) == 0)
{
x_26 = x_43;
goto block_41;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; 
x_50 = lean_ctor_get(x_49, 0);
lean_inc(x_50);
lean_dec_ref(x_49);
x_51 = lean_box(0);
x_52 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_52, 0, x_51);
x_53 = lean_unbox(x_50);
lean_dec(x_50);
lean_ctor_set_uint8(x_52, sizeof(void*)*1, x_53);
x_54 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_55 = l_Lake_Toml_RBDict_insert___redArg(x_54, x_42, x_52, x_43);
x_26 = x_55;
goto block_41;
}
}
block_76:
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; uint8_t x_68; uint8_t x_69; 
x_59 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12;
x_60 = lean_ctor_get(x_59, 0);
lean_inc(x_60);
x_61 = lean_ctor_get(x_59, 3);
lean_inc(x_61);
x_62 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
lean_dec_ref(x_62);
lean_inc_ref(x_3);
x_64 = lean_apply_1(x_63, x_3);
lean_inc_ref(x_64);
x_65 = lean_apply_1(x_60, x_64);
x_66 = lean_apply_1(x_61, x_64);
x_67 = lean_unbox(x_65);
x_68 = lean_unbox(x_66);
x_69 = l_Lake_instDecidableEqBackend(x_67, x_68);
if (x_69 == 0)
{
lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; 
x_70 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_71 = lean_unbox(x_65);
x_72 = l_Lake_Backend_toString(x_71);
x_73 = lean_box(0);
x_74 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_74, 0, x_73);
lean_ctor_set(x_74, 1, x_72);
x_75 = l_Lake_Toml_RBDict_insert___redArg(x_70, x_57, x_74, x_58);
x_43 = x_75;
goto block_56;
}
else
{
x_43 = x_58;
goto block_56;
}
}
block_87:
{
lean_object* x_80; lean_object* x_81; size_t x_82; size_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; 
x_80 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_81 = lean_box(0);
x_82 = lean_array_size(x_78);
x_83 = 0;
x_84 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_82, x_83, x_78);
x_85 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_85, 0, x_81);
lean_ctor_set(x_85, 1, x_84);
x_86 = l_Lake_Toml_RBDict_insert___redArg(x_80, x_77, x_85, x_79);
x_58 = x_86;
goto block_76;
}
block_101:
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; uint8_t x_99; 
x_89 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15;
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
x_91 = lean_ctor_get(x_89, 3);
lean_inc(x_91);
x_92 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_93 = lean_ctor_get(x_92, 0);
lean_inc(x_93);
lean_dec_ref(x_92);
lean_inc_ref(x_3);
x_94 = lean_apply_1(x_93, x_3);
lean_inc_ref(x_94);
x_95 = lean_apply_1(x_90, x_94);
x_96 = lean_apply_1(x_91, x_94);
x_97 = lean_array_get_size(x_95);
x_98 = lean_array_get_size(x_96);
x_99 = lean_nat_dec_eq(x_97, x_98);
lean_dec(x_98);
if (x_99 == 0)
{
lean_dec(x_97);
lean_dec_ref(x_96);
x_78 = x_95;
x_79 = x_88;
goto block_87;
}
else
{
uint8_t x_100; 
x_100 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_95, x_96, x_97);
lean_dec_ref(x_96);
if (x_100 == 0)
{
x_78 = x_95;
x_79 = x_88;
goto block_87;
}
else
{
lean_dec_ref(x_95);
x_58 = x_88;
goto block_76;
}
}
}
block_112:
{
lean_object* x_105; lean_object* x_106; size_t x_107; size_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; 
x_105 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_106 = lean_box(0);
x_107 = lean_array_size(x_104);
x_108 = 0;
x_109 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_107, x_108, x_104);
x_110 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_110, 0, x_106);
lean_ctor_set(x_110, 1, x_109);
x_111 = l_Lake_Toml_RBDict_insert___redArg(x_105, x_102, x_110, x_103);
x_88 = x_111;
goto block_101;
}
block_126:
{
lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; 
x_114 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18;
x_115 = lean_ctor_get(x_114, 0);
lean_inc(x_115);
x_116 = lean_ctor_get(x_114, 3);
lean_inc(x_116);
x_117 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_118 = lean_ctor_get(x_117, 0);
lean_inc(x_118);
lean_dec_ref(x_117);
lean_inc_ref(x_3);
x_119 = lean_apply_1(x_118, x_3);
lean_inc_ref(x_119);
x_120 = lean_apply_1(x_115, x_119);
x_121 = lean_apply_1(x_116, x_119);
x_122 = lean_array_get_size(x_120);
x_123 = lean_array_get_size(x_121);
x_124 = lean_nat_dec_eq(x_122, x_123);
lean_dec(x_123);
if (x_124 == 0)
{
lean_dec(x_122);
lean_dec_ref(x_121);
x_103 = x_113;
x_104 = x_120;
goto block_112;
}
else
{
uint8_t x_125; 
x_125 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_120, x_121, x_122);
lean_dec_ref(x_121);
if (x_125 == 0)
{
x_103 = x_113;
x_104 = x_120;
goto block_112;
}
else
{
lean_dec_ref(x_120);
x_88 = x_113;
goto block_101;
}
}
}
block_143:
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; 
x_129 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21;
x_130 = lean_ctor_get(x_129, 0);
lean_inc(x_130);
x_131 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_132 = lean_ctor_get(x_131, 0);
lean_inc(x_132);
lean_dec_ref(x_131);
lean_inc_ref(x_3);
x_133 = lean_apply_1(x_132, x_3);
x_134 = lean_apply_1(x_130, x_133);
x_135 = l_Array_isEmpty___redArg(x_134);
if (x_135 == 0)
{
lean_object* x_136; lean_object* x_137; size_t x_138; size_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 
x_136 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_137 = lean_box(0);
x_138 = lean_array_size(x_134);
x_139 = 0;
x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__0(x_138, x_139, x_134);
x_141 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_141, 0, x_137);
lean_ctor_set(x_141, 1, x_140);
x_142 = l_Lake_Toml_RBDict_insert___redArg(x_136, x_127, x_141, x_128);
x_113 = x_142;
goto block_126;
}
else
{
lean_dec_ref(x_134);
x_113 = x_128;
goto block_126;
}
}
block_160:
{
lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; 
x_146 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24;
x_147 = lean_ctor_get(x_146, 0);
lean_inc(x_147);
x_148 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_149 = lean_ctor_get(x_148, 0);
lean_inc(x_149);
lean_dec_ref(x_148);
lean_inc_ref(x_3);
x_150 = lean_apply_1(x_149, x_3);
x_151 = lean_apply_1(x_147, x_150);
x_152 = l_Array_isEmpty___redArg(x_151);
if (x_152 == 0)
{
lean_object* x_153; lean_object* x_154; size_t x_155; size_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; 
x_153 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_154 = lean_box(0);
x_155 = lean_array_size(x_151);
x_156 = 0;
x_157 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__2(x_155, x_156, x_151);
x_158 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_158, 0, x_154);
lean_ctor_set(x_158, 1, x_157);
x_159 = l_Lake_Toml_RBDict_insert___redArg(x_153, x_144, x_158, x_145);
x_128 = x_159;
goto block_143;
}
else
{
lean_dec_ref(x_151);
x_128 = x_145;
goto block_143;
}
}
block_171:
{
lean_object* x_164; lean_object* x_165; size_t x_166; size_t x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; 
x_164 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_165 = lean_box(0);
x_166 = lean_array_size(x_163);
x_167 = 0;
x_168 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_166, x_167, x_163);
x_169 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_169, 0, x_165);
lean_ctor_set(x_169, 1, x_168);
x_170 = l_Lake_Toml_RBDict_insert___redArg(x_164, x_161, x_169, x_162);
x_145 = x_170;
goto block_160;
}
block_185:
{
lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; 
x_173 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27;
x_174 = lean_ctor_get(x_173, 0);
lean_inc(x_174);
x_175 = lean_ctor_get(x_173, 3);
lean_inc(x_175);
x_176 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_177 = lean_ctor_get(x_176, 0);
lean_inc(x_177);
lean_dec_ref(x_176);
lean_inc_ref(x_3);
x_178 = lean_apply_1(x_177, x_3);
lean_inc_ref(x_178);
x_179 = lean_apply_1(x_174, x_178);
x_180 = lean_apply_1(x_175, x_178);
x_181 = lean_array_get_size(x_179);
x_182 = lean_array_get_size(x_180);
x_183 = lean_nat_dec_eq(x_181, x_182);
lean_dec(x_182);
if (x_183 == 0)
{
lean_dec(x_181);
lean_dec_ref(x_180);
x_162 = x_172;
x_163 = x_179;
goto block_171;
}
else
{
uint8_t x_184; 
x_184 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_179, x_180, x_181);
lean_dec_ref(x_180);
if (x_184 == 0)
{
x_162 = x_172;
x_163 = x_179;
goto block_171;
}
else
{
lean_dec_ref(x_179);
x_145 = x_172;
goto block_160;
}
}
}
block_200:
{
lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; 
x_188 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30;
x_189 = lean_ctor_get(x_188, 0);
lean_inc(x_189);
x_190 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_191 = lean_ctor_get(x_190, 0);
lean_inc(x_191);
lean_dec_ref(x_190);
lean_inc_ref(x_3);
x_192 = lean_apply_1(x_191, x_3);
x_193 = lean_apply_1(x_189, x_192);
x_194 = l_Array_isEmpty___redArg(x_193);
if (x_194 == 0)
{
lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 
x_195 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_196 = lean_box(0);
x_197 = l_Lake_Toml_encodeLeanOptions(x_193);
lean_dec_ref(x_193);
x_198 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_198, 0, x_196);
lean_ctor_set(x_198, 1, x_197);
x_199 = l_Lake_Toml_RBDict_insert___redArg(x_195, x_186, x_198, x_187);
x_172 = x_199;
goto block_185;
}
else
{
lean_dec_ref(x_193);
x_172 = x_187;
goto block_185;
}
}
block_211:
{
lean_object* x_204; lean_object* x_205; size_t x_206; size_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; 
x_204 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_205 = lean_box(0);
x_206 = lean_array_size(x_203);
x_207 = 0;
x_208 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_206, x_207, x_203);
x_209 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_209, 0, x_205);
lean_ctor_set(x_209, 1, x_208);
x_210 = l_Lake_Toml_RBDict_insert___redArg(x_204, x_201, x_209, x_202);
x_187 = x_210;
goto block_200;
}
block_225:
{
lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; 
x_213 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33;
x_214 = lean_ctor_get(x_213, 0);
lean_inc(x_214);
x_215 = lean_ctor_get(x_213, 3);
lean_inc(x_215);
x_216 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_217 = lean_ctor_get(x_216, 0);
lean_inc(x_217);
lean_dec_ref(x_216);
lean_inc_ref(x_3);
x_218 = lean_apply_1(x_217, x_3);
lean_inc_ref(x_218);
x_219 = lean_apply_1(x_214, x_218);
x_220 = lean_apply_1(x_215, x_218);
x_221 = lean_array_get_size(x_219);
x_222 = lean_array_get_size(x_220);
x_223 = lean_nat_dec_eq(x_221, x_222);
lean_dec(x_222);
if (x_223 == 0)
{
lean_dec(x_221);
lean_dec_ref(x_220);
x_202 = x_212;
x_203 = x_219;
goto block_211;
}
else
{
uint8_t x_224; 
x_224 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_219, x_220, x_221);
lean_dec_ref(x_220);
if (x_224 == 0)
{
x_202 = x_212;
x_203 = x_219;
goto block_211;
}
else
{
lean_dec_ref(x_219);
x_187 = x_212;
goto block_200;
}
}
}
block_236:
{
lean_object* x_229; lean_object* x_230; size_t x_231; size_t x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; 
x_229 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_230 = lean_box(0);
x_231 = lean_array_size(x_227);
x_232 = 0;
x_233 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_231, x_232, x_227);
x_234 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_234, 0, x_230);
lean_ctor_set(x_234, 1, x_233);
x_235 = l_Lake_Toml_RBDict_insert___redArg(x_229, x_226, x_234, x_228);
x_212 = x_235;
goto block_225;
}
block_250:
{
lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; 
x_238 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36;
x_239 = lean_ctor_get(x_238, 0);
lean_inc(x_239);
x_240 = lean_ctor_get(x_238, 3);
lean_inc(x_240);
x_241 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_242 = lean_ctor_get(x_241, 0);
lean_inc(x_242);
lean_dec_ref(x_241);
lean_inc_ref(x_3);
x_243 = lean_apply_1(x_242, x_3);
lean_inc_ref(x_243);
x_244 = lean_apply_1(x_239, x_243);
x_245 = lean_apply_1(x_240, x_243);
x_246 = lean_array_get_size(x_244);
x_247 = lean_array_get_size(x_245);
x_248 = lean_nat_dec_eq(x_246, x_247);
lean_dec(x_247);
if (x_248 == 0)
{
lean_dec(x_246);
lean_dec_ref(x_245);
x_227 = x_244;
x_228 = x_237;
goto block_236;
}
else
{
uint8_t x_249; 
x_249 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_244, x_245, x_246);
lean_dec_ref(x_245);
if (x_249 == 0)
{
x_227 = x_244;
x_228 = x_237;
goto block_236;
}
else
{
lean_dec_ref(x_244);
x_212 = x_237;
goto block_225;
}
}
}
block_261:
{
lean_object* x_254; lean_object* x_255; size_t x_256; size_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; 
x_254 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_255 = lean_box(0);
x_256 = lean_array_size(x_253);
x_257 = 0;
x_258 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_256, x_257, x_253);
x_259 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_259, 0, x_255);
lean_ctor_set(x_259, 1, x_258);
x_260 = l_Lake_Toml_RBDict_insert___redArg(x_254, x_251, x_259, x_252);
x_237 = x_260;
goto block_250;
}
block_275:
{
lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; 
x_263 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39;
x_264 = lean_ctor_get(x_263, 0);
lean_inc(x_264);
x_265 = lean_ctor_get(x_263, 3);
lean_inc(x_265);
x_266 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_267 = lean_ctor_get(x_266, 0);
lean_inc(x_267);
lean_dec_ref(x_266);
lean_inc_ref(x_3);
x_268 = lean_apply_1(x_267, x_3);
lean_inc_ref(x_268);
x_269 = lean_apply_1(x_264, x_268);
x_270 = lean_apply_1(x_265, x_268);
x_271 = lean_array_get_size(x_269);
x_272 = lean_array_get_size(x_270);
x_273 = lean_nat_dec_eq(x_271, x_272);
lean_dec(x_272);
if (x_273 == 0)
{
lean_dec(x_271);
lean_dec_ref(x_270);
x_252 = x_262;
x_253 = x_269;
goto block_261;
}
else
{
uint8_t x_274; 
x_274 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_269, x_270, x_271);
lean_dec_ref(x_270);
if (x_274 == 0)
{
x_252 = x_262;
x_253 = x_269;
goto block_261;
}
else
{
lean_dec_ref(x_269);
x_237 = x_262;
goto block_250;
}
}
}
block_290:
{
lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; uint8_t x_284; 
x_278 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42;
x_279 = lean_ctor_get(x_278, 0);
lean_inc(x_279);
x_280 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_281 = lean_ctor_get(x_280, 0);
lean_inc(x_281);
lean_dec_ref(x_280);
lean_inc_ref(x_3);
x_282 = lean_apply_1(x_281, x_3);
x_283 = lean_apply_1(x_279, x_282);
x_284 = l_Array_isEmpty___redArg(x_283);
if (x_284 == 0)
{
lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; 
x_285 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_286 = lean_box(0);
x_287 = l_Lake_Toml_encodeLeanOptions(x_283);
lean_dec_ref(x_283);
x_288 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_288, 0, x_286);
lean_ctor_set(x_288, 1, x_287);
x_289 = l_Lake_Toml_RBDict_insert___redArg(x_285, x_276, x_288, x_277);
x_262 = x_289;
goto block_275;
}
else
{
lean_dec_ref(x_283);
x_262 = x_277;
goto block_275;
}
}
block_310:
{
lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; uint8_t x_302; uint8_t x_303; 
x_293 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0;
x_294 = lean_ctor_get(x_293, 0);
lean_inc(x_294);
x_295 = lean_ctor_get(x_293, 3);
lean_inc(x_295);
x_296 = l_Lake_PackageConfig_toLeanConfig___proj(x_1, x_2);
x_297 = lean_ctor_get(x_296, 0);
lean_inc(x_297);
lean_dec_ref(x_296);
lean_inc_ref(x_3);
x_298 = lean_apply_1(x_297, x_3);
lean_inc_ref(x_298);
x_299 = lean_apply_1(x_294, x_298);
x_300 = lean_apply_1(x_295, x_298);
x_301 = lean_unbox(x_299);
x_302 = lean_unbox(x_300);
x_303 = l_Lake_instDecidableEqBuildType(x_301, x_302);
if (x_303 == 0)
{
lean_object* x_304; uint8_t x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; 
x_304 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_305 = lean_unbox(x_299);
x_306 = l_Lake_BuildType_toString(x_305);
x_307 = lean_box(0);
x_308 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_308, 0, x_307);
lean_ctor_set(x_308, 1, x_306);
x_309 = l_Lake_Toml_RBDict_insert___redArg(x_304, x_291, x_308, x_292);
x_277 = x_309;
goto block_290;
}
else
{
x_277 = x_292;
goto block_290;
}
}
block_329:
{
lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; 
x_313 = l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0;
x_314 = lean_ctor_get(x_313, 0);
lean_inc(x_314);
x_315 = lean_ctor_get(x_313, 3);
lean_inc(x_315);
x_316 = l_Lake_PackageConfig_toWorkspaceConfig___proj(x_1, x_2);
x_317 = lean_ctor_get(x_316, 0);
lean_inc(x_317);
lean_dec_ref(x_316);
lean_inc_ref(x_3);
x_318 = lean_apply_1(x_317, x_3);
lean_inc_ref(x_318);
x_319 = lean_apply_1(x_314, x_318);
x_320 = lean_apply_1(x_315, x_318);
lean_inc_ref(x_319);
x_321 = l_System_FilePath_normalize(x_319);
x_322 = l_System_FilePath_normalize(x_320);
x_323 = lean_string_dec_eq(x_321, x_322);
lean_dec_ref(x_322);
lean_dec_ref(x_321);
if (x_323 == 0)
{
lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; 
x_324 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_325 = l_Lake_mkRelPathString(x_319);
x_326 = lean_box(0);
x_327 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_327, 0, x_326);
lean_ctor_set(x_327, 1, x_325);
x_328 = l_Lake_Toml_RBDict_insert___redArg(x_324, x_311, x_327, x_312);
x_292 = x_328;
goto block_310;
}
else
{
lean_dec_ref(x_319);
x_292 = x_312;
goto block_310;
}
}
block_337:
{
lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; 
x_333 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_334 = lean_box(0);
x_335 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_335, 0, x_334);
lean_ctor_set_uint8(x_335, sizeof(void*)*1, x_331);
x_336 = l_Lake_Toml_RBDict_insert___redArg(x_333, x_330, x_335, x_332);
x_312 = x_336;
goto block_329;
}
block_349:
{
lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; 
x_339 = l_Lake_PackageConfig_allowImportAll___proj(x_1, x_2);
x_340 = lean_ctor_get(x_339, 0);
lean_inc(x_340);
x_341 = lean_ctor_get(x_339, 3);
lean_inc(x_341);
lean_dec_ref(x_339);
lean_inc_ref(x_3);
x_342 = lean_apply_1(x_340, x_3);
lean_inc_ref(x_3);
x_343 = lean_apply_1(x_341, x_3);
x_344 = lean_unbox(x_342);
if (x_344 == 0)
{
uint8_t x_345; 
x_345 = lean_unbox(x_343);
if (x_345 == 0)
{
x_312 = x_338;
goto block_329;
}
else
{
uint8_t x_346; 
x_346 = lean_unbox(x_342);
x_331 = x_346;
x_332 = x_338;
goto block_337;
}
}
else
{
uint8_t x_347; 
x_347 = lean_unbox(x_343);
if (x_347 == 0)
{
uint8_t x_348; 
x_348 = lean_unbox(x_342);
x_331 = x_348;
x_332 = x_338;
goto block_337;
}
else
{
x_312 = x_338;
goto block_329;
}
}
}
block_357:
{
lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; 
x_353 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_354 = lean_box(0);
x_355 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_355, 0, x_354);
lean_ctor_set_uint8(x_355, sizeof(void*)*1, x_351);
x_356 = l_Lake_Toml_RBDict_insert___redArg(x_353, x_350, x_355, x_352);
x_338 = x_356;
goto block_349;
}
block_369:
{
lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; uint8_t x_364; 
x_359 = l_Lake_PackageConfig_libPrefixOnWindows___proj(x_1, x_2);
x_360 = lean_ctor_get(x_359, 0);
lean_inc(x_360);
x_361 = lean_ctor_get(x_359, 3);
lean_inc(x_361);
lean_dec_ref(x_359);
lean_inc_ref(x_3);
x_362 = lean_apply_1(x_360, x_3);
lean_inc_ref(x_3);
x_363 = lean_apply_1(x_361, x_3);
x_364 = lean_unbox(x_362);
if (x_364 == 0)
{
uint8_t x_365; 
x_365 = lean_unbox(x_363);
if (x_365 == 0)
{
x_338 = x_358;
goto block_349;
}
else
{
uint8_t x_366; 
x_366 = lean_unbox(x_362);
x_351 = x_366;
x_352 = x_358;
goto block_357;
}
}
else
{
uint8_t x_367; 
x_367 = lean_unbox(x_363);
if (x_367 == 0)
{
uint8_t x_368; 
x_368 = lean_unbox(x_362);
x_351 = x_368;
x_352 = x_358;
goto block_357;
}
else
{
x_338 = x_358;
goto block_349;
}
}
}
block_377:
{
lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; 
x_373 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_374 = lean_box(0);
x_375 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_375, 0, x_374);
lean_ctor_set_uint8(x_375, sizeof(void*)*1, x_372);
x_376 = l_Lake_Toml_RBDict_insert___redArg(x_373, x_370, x_375, x_371);
x_358 = x_376;
goto block_369;
}
block_389:
{
lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; 
x_379 = l_Lake_PackageConfig_restoreAllArtifacts___proj(x_1, x_2);
x_380 = lean_ctor_get(x_379, 0);
lean_inc(x_380);
x_381 = lean_ctor_get(x_379, 3);
lean_inc(x_381);
lean_dec_ref(x_379);
lean_inc_ref(x_3);
x_382 = lean_apply_1(x_380, x_3);
lean_inc_ref(x_3);
x_383 = lean_apply_1(x_381, x_3);
x_384 = lean_unbox(x_382);
if (x_384 == 0)
{
uint8_t x_385; 
x_385 = lean_unbox(x_383);
if (x_385 == 0)
{
x_358 = x_378;
goto block_369;
}
else
{
uint8_t x_386; 
x_386 = lean_unbox(x_382);
x_371 = x_378;
x_372 = x_386;
goto block_377;
}
}
else
{
uint8_t x_387; 
x_387 = lean_unbox(x_383);
if (x_387 == 0)
{
uint8_t x_388; 
x_388 = lean_unbox(x_382);
x_371 = x_378;
x_372 = x_388;
goto block_377;
}
else
{
x_358 = x_378;
goto block_369;
}
}
}
block_401:
{
lean_object* x_392; lean_object* x_393; lean_object* x_394; 
x_392 = l_Lake_PackageConfig_enableArtifactCache_x3f___proj(x_1, x_2);
x_393 = lean_ctor_get(x_392, 0);
lean_inc(x_393);
lean_dec_ref(x_392);
lean_inc_ref(x_3);
x_394 = lean_apply_1(x_393, x_3);
if (lean_obj_tag(x_394) == 0)
{
x_378 = x_391;
goto block_389;
}
else
{
lean_object* x_395; lean_object* x_396; lean_object* x_397; uint8_t x_398; lean_object* x_399; lean_object* x_400; 
x_395 = lean_ctor_get(x_394, 0);
lean_inc(x_395);
lean_dec_ref(x_394);
x_396 = lean_box(0);
x_397 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_397, 0, x_396);
x_398 = lean_unbox(x_395);
lean_dec(x_395);
lean_ctor_set_uint8(x_397, sizeof(void*)*1, x_398);
x_399 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_400 = l_Lake_Toml_RBDict_insert___redArg(x_399, x_390, x_397, x_391);
x_378 = x_400;
goto block_389;
}
}
block_409:
{
lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; 
x_405 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_406 = lean_box(0);
x_407 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_407, 0, x_406);
lean_ctor_set_uint8(x_407, sizeof(void*)*1, x_404);
x_408 = l_Lake_Toml_RBDict_insert___redArg(x_405, x_402, x_407, x_403);
x_391 = x_408;
goto block_401;
}
block_421:
{
lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; uint8_t x_416; 
x_411 = l_Lake_PackageConfig_reservoir___proj(x_1, x_2);
x_412 = lean_ctor_get(x_411, 0);
lean_inc(x_412);
x_413 = lean_ctor_get(x_411, 3);
lean_inc(x_413);
lean_dec_ref(x_411);
lean_inc_ref(x_3);
x_414 = lean_apply_1(x_412, x_3);
lean_inc_ref(x_3);
x_415 = lean_apply_1(x_413, x_3);
x_416 = lean_unbox(x_414);
if (x_416 == 0)
{
uint8_t x_417; 
x_417 = lean_unbox(x_415);
if (x_417 == 0)
{
x_391 = x_410;
goto block_401;
}
else
{
uint8_t x_418; 
x_418 = lean_unbox(x_414);
x_403 = x_410;
x_404 = x_418;
goto block_409;
}
}
else
{
uint8_t x_419; 
x_419 = lean_unbox(x_415);
if (x_419 == 0)
{
uint8_t x_420; 
x_420 = lean_unbox(x_414);
x_403 = x_410;
x_404 = x_420;
goto block_409;
}
else
{
x_391 = x_410;
goto block_401;
}
}
}
block_437:
{
lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; 
x_424 = l_Lake_PackageConfig_readmeFile___proj(x_1, x_2);
x_425 = lean_ctor_get(x_424, 0);
lean_inc(x_425);
x_426 = lean_ctor_get(x_424, 3);
lean_inc(x_426);
lean_dec_ref(x_424);
lean_inc_ref(x_3);
x_427 = lean_apply_1(x_425, x_3);
lean_inc_ref(x_3);
x_428 = lean_apply_1(x_426, x_3);
lean_inc_ref(x_427);
x_429 = l_System_FilePath_normalize(x_427);
x_430 = l_System_FilePath_normalize(x_428);
x_431 = lean_string_dec_eq(x_429, x_430);
lean_dec_ref(x_430);
lean_dec_ref(x_429);
if (x_431 == 0)
{
lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; 
x_432 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_433 = l_Lake_mkRelPathString(x_427);
x_434 = lean_box(0);
x_435 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_435, 0, x_434);
lean_ctor_set(x_435, 1, x_433);
x_436 = l_Lake_Toml_RBDict_insert___redArg(x_432, x_422, x_435, x_423);
x_410 = x_436;
goto block_421;
}
else
{
lean_dec_ref(x_427);
x_410 = x_423;
goto block_421;
}
}
block_448:
{
lean_object* x_441; lean_object* x_442; size_t x_443; size_t x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; 
x_441 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_442 = lean_box(0);
x_443 = lean_array_size(x_440);
x_444 = 0;
x_445 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0(x_443, x_444, x_440);
x_446 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_446, 0, x_442);
lean_ctor_set(x_446, 1, x_445);
x_447 = l_Lake_Toml_RBDict_insert___redArg(x_441, x_438, x_446, x_439);
x_423 = x_447;
goto block_437;
}
block_459:
{
lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; uint8_t x_457; 
x_450 = l_Lake_PackageConfig_licenseFiles___proj(x_1, x_2);
x_451 = lean_ctor_get(x_450, 0);
lean_inc(x_451);
x_452 = lean_ctor_get(x_450, 3);
lean_inc(x_452);
lean_dec_ref(x_450);
lean_inc_ref(x_3);
x_453 = lean_apply_1(x_451, x_3);
lean_inc_ref(x_3);
x_454 = lean_apply_1(x_452, x_3);
x_455 = lean_array_get_size(x_453);
x_456 = lean_array_get_size(x_454);
x_457 = lean_nat_dec_eq(x_455, x_456);
lean_dec(x_456);
if (x_457 == 0)
{
lean_dec(x_455);
lean_dec_ref(x_454);
x_439 = x_449;
x_440 = x_453;
goto block_448;
}
else
{
uint8_t x_458; 
x_458 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg(x_453, x_454, x_455);
lean_dec_ref(x_454);
if (x_458 == 0)
{
x_439 = x_449;
x_440 = x_453;
goto block_448;
}
else
{
lean_dec_ref(x_453);
x_423 = x_449;
goto block_437;
}
}
}
block_472:
{
lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; uint8_t x_467; 
x_462 = l_Lake_PackageConfig_license___proj(x_1, x_2);
x_463 = lean_ctor_get(x_462, 0);
lean_inc(x_463);
x_464 = lean_ctor_get(x_462, 3);
lean_inc(x_464);
lean_dec_ref(x_462);
lean_inc_ref(x_3);
x_465 = lean_apply_1(x_463, x_3);
lean_inc_ref(x_3);
x_466 = lean_apply_1(x_464, x_3);
x_467 = lean_string_dec_eq(x_465, x_466);
lean_dec_ref(x_466);
if (x_467 == 0)
{
lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; 
x_468 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_469 = lean_box(0);
x_470 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_470, 0, x_469);
lean_ctor_set(x_470, 1, x_465);
x_471 = l_Lake_Toml_RBDict_insert___redArg(x_468, x_460, x_470, x_461);
x_449 = x_471;
goto block_459;
}
else
{
lean_dec_ref(x_465);
x_449 = x_461;
goto block_459;
}
}
block_485:
{
lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; uint8_t x_480; 
x_475 = l_Lake_PackageConfig_homepage___proj(x_1, x_2);
x_476 = lean_ctor_get(x_475, 0);
lean_inc(x_476);
x_477 = lean_ctor_get(x_475, 3);
lean_inc(x_477);
lean_dec_ref(x_475);
lean_inc_ref(x_3);
x_478 = lean_apply_1(x_476, x_3);
lean_inc_ref(x_3);
x_479 = lean_apply_1(x_477, x_3);
x_480 = lean_string_dec_eq(x_478, x_479);
lean_dec_ref(x_479);
if (x_480 == 0)
{
lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; 
x_481 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_482 = lean_box(0);
x_483 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_483, 0, x_482);
lean_ctor_set(x_483, 1, x_478);
x_484 = l_Lake_Toml_RBDict_insert___redArg(x_481, x_473, x_483, x_474);
x_461 = x_484;
goto block_472;
}
else
{
lean_dec_ref(x_478);
x_461 = x_474;
goto block_472;
}
}
block_496:
{
lean_object* x_489; lean_object* x_490; size_t x_491; size_t x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; 
x_489 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_490 = lean_box(0);
x_491 = lean_array_size(x_488);
x_492 = 0;
x_493 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_491, x_492, x_488);
x_494 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_494, 0, x_490);
lean_ctor_set(x_494, 1, x_493);
x_495 = l_Lake_Toml_RBDict_insert___redArg(x_489, x_486, x_494, x_487);
x_474 = x_495;
goto block_485;
}
block_507:
{
lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; uint8_t x_505; 
x_498 = l_Lake_PackageConfig_keywords___proj(x_1, x_2);
x_499 = lean_ctor_get(x_498, 0);
lean_inc(x_499);
x_500 = lean_ctor_get(x_498, 3);
lean_inc(x_500);
lean_dec_ref(x_498);
lean_inc_ref(x_3);
x_501 = lean_apply_1(x_499, x_3);
lean_inc_ref(x_3);
x_502 = lean_apply_1(x_500, x_3);
x_503 = lean_array_get_size(x_501);
x_504 = lean_array_get_size(x_502);
x_505 = lean_nat_dec_eq(x_503, x_504);
lean_dec(x_504);
if (x_505 == 0)
{
lean_dec(x_503);
lean_dec_ref(x_502);
x_487 = x_497;
x_488 = x_501;
goto block_496;
}
else
{
uint8_t x_506; 
x_506 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_501, x_502, x_503);
lean_dec_ref(x_502);
if (x_506 == 0)
{
x_487 = x_497;
x_488 = x_501;
goto block_496;
}
else
{
lean_dec_ref(x_501);
x_474 = x_497;
goto block_485;
}
}
}
block_520:
{
lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; uint8_t x_515; 
x_510 = l_Lake_PackageConfig_description___proj(x_1, x_2);
x_511 = lean_ctor_get(x_510, 0);
lean_inc(x_511);
x_512 = lean_ctor_get(x_510, 3);
lean_inc(x_512);
lean_dec_ref(x_510);
lean_inc_ref(x_3);
x_513 = lean_apply_1(x_511, x_3);
lean_inc_ref(x_3);
x_514 = lean_apply_1(x_512, x_3);
x_515 = lean_string_dec_eq(x_513, x_514);
lean_dec_ref(x_514);
if (x_515 == 0)
{
lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; 
x_516 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_517 = lean_box(0);
x_518 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_518, 0, x_517);
lean_ctor_set(x_518, 1, x_513);
x_519 = l_Lake_Toml_RBDict_insert___redArg(x_516, x_508, x_518, x_509);
x_497 = x_519;
goto block_507;
}
else
{
lean_dec_ref(x_513);
x_497 = x_509;
goto block_507;
}
}
block_530:
{
lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; 
x_523 = l_Lake_PackageConfig_versionTags___proj(x_1, x_2);
x_524 = lean_ctor_get(x_523, 0);
lean_inc(x_524);
lean_dec_ref(x_523);
lean_inc_ref(x_3);
x_525 = lean_apply_1(x_524, x_3);
x_526 = l_Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0___redArg(x_525);
if (lean_obj_tag(x_526) == 1)
{
lean_object* x_527; lean_object* x_528; lean_object* x_529; 
x_527 = lean_ctor_get(x_526, 0);
lean_inc(x_527);
lean_dec_ref(x_526);
x_528 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_529 = l_Lake_Toml_RBDict_insert___redArg(x_528, x_521, x_527, x_522);
x_509 = x_529;
goto block_520;
}
else
{
lean_dec(x_526);
x_509 = x_522;
goto block_520;
}
}
block_544:
{
lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; uint8_t x_538; 
x_533 = l_Lake_PackageConfig_version___proj(x_1, x_2);
x_534 = lean_ctor_get(x_533, 0);
lean_inc(x_534);
x_535 = lean_ctor_get(x_533, 3);
lean_inc(x_535);
lean_dec_ref(x_533);
lean_inc_ref(x_3);
x_536 = lean_apply_1(x_534, x_3);
lean_inc_ref(x_3);
x_537 = lean_apply_1(x_535, x_3);
x_538 = l_Lake_instDecidableEqStdVer_decEq(x_536, x_537);
lean_dec_ref(x_537);
if (x_538 == 0)
{
lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; 
x_539 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_540 = l_Lake_StdVer_toString(x_536);
x_541 = lean_box(0);
x_542 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_542, 0, x_541);
lean_ctor_set(x_542, 1, x_540);
x_543 = l_Lake_Toml_RBDict_insert___redArg(x_539, x_531, x_542, x_532);
x_522 = x_543;
goto block_530;
}
else
{
lean_dec_ref(x_536);
x_522 = x_532;
goto block_530;
}
}
block_555:
{
lean_object* x_548; lean_object* x_549; size_t x_550; size_t x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; 
x_548 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_549 = lean_box(0);
x_550 = lean_array_size(x_546);
x_551 = 0;
x_552 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_550, x_551, x_546);
x_553 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_553, 0, x_549);
lean_ctor_set(x_553, 1, x_552);
x_554 = l_Lake_Toml_RBDict_insert___redArg(x_548, x_545, x_553, x_547);
x_532 = x_554;
goto block_544;
}
block_566:
{
lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; uint8_t x_564; 
x_557 = l_Lake_PackageConfig_lintDriverArgs___proj(x_1, x_2);
x_558 = lean_ctor_get(x_557, 0);
lean_inc(x_558);
x_559 = lean_ctor_get(x_557, 3);
lean_inc(x_559);
lean_dec_ref(x_557);
lean_inc_ref(x_3);
x_560 = lean_apply_1(x_558, x_3);
lean_inc_ref(x_3);
x_561 = lean_apply_1(x_559, x_3);
x_562 = lean_array_get_size(x_560);
x_563 = lean_array_get_size(x_561);
x_564 = lean_nat_dec_eq(x_562, x_563);
lean_dec(x_563);
if (x_564 == 0)
{
lean_dec(x_562);
lean_dec_ref(x_561);
x_546 = x_560;
x_547 = x_556;
goto block_555;
}
else
{
uint8_t x_565; 
x_565 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_560, x_561, x_562);
lean_dec_ref(x_561);
if (x_565 == 0)
{
x_546 = x_560;
x_547 = x_556;
goto block_555;
}
else
{
lean_dec_ref(x_560);
x_532 = x_556;
goto block_544;
}
}
}
block_579:
{
lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; uint8_t x_574; 
x_569 = l_Lake_PackageConfig_lintDriver___proj(x_1, x_2);
x_570 = lean_ctor_get(x_569, 0);
lean_inc(x_570);
x_571 = lean_ctor_get(x_569, 3);
lean_inc(x_571);
lean_dec_ref(x_569);
lean_inc_ref(x_3);
x_572 = lean_apply_1(x_570, x_3);
lean_inc_ref(x_3);
x_573 = lean_apply_1(x_571, x_3);
x_574 = lean_string_dec_eq(x_572, x_573);
lean_dec_ref(x_573);
if (x_574 == 0)
{
lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; 
x_575 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_576 = lean_box(0);
x_577 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_577, 0, x_576);
lean_ctor_set(x_577, 1, x_572);
x_578 = l_Lake_Toml_RBDict_insert___redArg(x_575, x_567, x_577, x_568);
x_556 = x_578;
goto block_566;
}
else
{
lean_dec_ref(x_572);
x_556 = x_568;
goto block_566;
}
}
block_590:
{
lean_object* x_583; lean_object* x_584; size_t x_585; size_t x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; 
x_583 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_584 = lean_box(0);
x_585 = lean_array_size(x_582);
x_586 = 0;
x_587 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_585, x_586, x_582);
x_588 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_588, 0, x_584);
lean_ctor_set(x_588, 1, x_587);
x_589 = l_Lake_Toml_RBDict_insert___redArg(x_583, x_580, x_588, x_581);
x_568 = x_589;
goto block_579;
}
block_601:
{
lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; uint8_t x_599; 
x_592 = l_Lake_PackageConfig_testDriverArgs___proj(x_1, x_2);
x_593 = lean_ctor_get(x_592, 0);
lean_inc(x_593);
x_594 = lean_ctor_get(x_592, 3);
lean_inc(x_594);
lean_dec_ref(x_592);
lean_inc_ref(x_3);
x_595 = lean_apply_1(x_593, x_3);
lean_inc_ref(x_3);
x_596 = lean_apply_1(x_594, x_3);
x_597 = lean_array_get_size(x_595);
x_598 = lean_array_get_size(x_596);
x_599 = lean_nat_dec_eq(x_597, x_598);
lean_dec(x_598);
if (x_599 == 0)
{
lean_dec(x_597);
lean_dec_ref(x_596);
x_581 = x_591;
x_582 = x_595;
goto block_590;
}
else
{
uint8_t x_600; 
x_600 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_595, x_596, x_597);
lean_dec_ref(x_596);
if (x_600 == 0)
{
x_581 = x_591;
x_582 = x_595;
goto block_590;
}
else
{
lean_dec_ref(x_595);
x_568 = x_591;
goto block_579;
}
}
}
block_614:
{
lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; uint8_t x_609; 
x_604 = l_Lake_PackageConfig_testDriver___proj(x_1, x_2);
x_605 = lean_ctor_get(x_604, 0);
lean_inc(x_605);
x_606 = lean_ctor_get(x_604, 3);
lean_inc(x_606);
lean_dec_ref(x_604);
lean_inc_ref(x_3);
x_607 = lean_apply_1(x_605, x_3);
lean_inc_ref(x_3);
x_608 = lean_apply_1(x_606, x_3);
x_609 = lean_string_dec_eq(x_607, x_608);
lean_dec_ref(x_608);
if (x_609 == 0)
{
lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; 
x_610 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_611 = lean_box(0);
x_612 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_612, 0, x_611);
lean_ctor_set(x_612, 1, x_607);
x_613 = l_Lake_Toml_RBDict_insert___redArg(x_610, x_602, x_612, x_603);
x_591 = x_613;
goto block_601;
}
else
{
lean_dec_ref(x_607);
x_591 = x_603;
goto block_601;
}
}
block_622:
{
lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; 
x_618 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_619 = lean_box(0);
x_620 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_620, 0, x_619);
lean_ctor_set_uint8(x_620, sizeof(void*)*1, x_617);
x_621 = l_Lake_Toml_RBDict_insert___redArg(x_618, x_615, x_620, x_616);
x_603 = x_621;
goto block_614;
}
block_634:
{
lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; uint8_t x_629; 
x_624 = l_Lake_PackageConfig_preferReleaseBuild___proj(x_1, x_2);
x_625 = lean_ctor_get(x_624, 0);
lean_inc(x_625);
x_626 = lean_ctor_get(x_624, 3);
lean_inc(x_626);
lean_dec_ref(x_624);
lean_inc_ref(x_3);
x_627 = lean_apply_1(x_625, x_3);
lean_inc_ref(x_3);
x_628 = lean_apply_1(x_626, x_3);
x_629 = lean_unbox(x_627);
if (x_629 == 0)
{
uint8_t x_630; 
x_630 = lean_unbox(x_628);
if (x_630 == 0)
{
x_603 = x_623;
goto block_614;
}
else
{
uint8_t x_631; 
x_631 = lean_unbox(x_627);
x_616 = x_623;
x_617 = x_631;
goto block_622;
}
}
else
{
uint8_t x_632; 
x_632 = lean_unbox(x_628);
if (x_632 == 0)
{
uint8_t x_633; 
x_633 = lean_unbox(x_627);
x_616 = x_623;
x_617 = x_633;
goto block_622;
}
else
{
x_603 = x_623;
goto block_614;
}
}
}
block_645:
{
lean_object* x_637; lean_object* x_638; lean_object* x_639; 
x_637 = l_Lake_PackageConfig_buildArchive___proj(x_1, x_2);
x_638 = lean_ctor_get(x_637, 0);
lean_inc(x_638);
lean_dec_ref(x_637);
lean_inc_ref(x_3);
x_639 = lean_apply_1(x_638, x_3);
if (lean_obj_tag(x_639) == 0)
{
x_623 = x_636;
goto block_634;
}
else
{
lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; 
x_640 = lean_ctor_get(x_639, 0);
lean_inc(x_640);
lean_dec_ref(x_639);
x_641 = lean_box(0);
x_642 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_642, 0, x_641);
lean_ctor_set(x_642, 1, x_640);
x_643 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_644 = l_Lake_Toml_RBDict_insert___redArg(x_643, x_635, x_642, x_636);
x_623 = x_644;
goto block_634;
}
}
block_656:
{
lean_object* x_648; lean_object* x_649; lean_object* x_650; 
x_648 = l_Lake_PackageConfig_releaseRepo___proj(x_1, x_2);
x_649 = lean_ctor_get(x_648, 0);
lean_inc(x_649);
lean_dec_ref(x_648);
lean_inc_ref(x_3);
x_650 = lean_apply_1(x_649, x_3);
if (lean_obj_tag(x_650) == 0)
{
x_636 = x_647;
goto block_645;
}
else
{
lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; 
x_651 = lean_ctor_get(x_650, 0);
lean_inc(x_651);
lean_dec_ref(x_650);
x_652 = lean_box(0);
x_653 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_653, 0, x_652);
lean_ctor_set(x_653, 1, x_651);
x_654 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_655 = l_Lake_Toml_RBDict_insert___redArg(x_654, x_646, x_653, x_647);
x_636 = x_655;
goto block_645;
}
}
block_672:
{
lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; uint8_t x_666; 
x_659 = l_Lake_PackageConfig_irDir___proj(x_1, x_2);
x_660 = lean_ctor_get(x_659, 0);
lean_inc(x_660);
x_661 = lean_ctor_get(x_659, 3);
lean_inc(x_661);
lean_dec_ref(x_659);
lean_inc_ref(x_3);
x_662 = lean_apply_1(x_660, x_3);
lean_inc_ref(x_3);
x_663 = lean_apply_1(x_661, x_3);
lean_inc_ref(x_662);
x_664 = l_System_FilePath_normalize(x_662);
x_665 = l_System_FilePath_normalize(x_663);
x_666 = lean_string_dec_eq(x_664, x_665);
lean_dec_ref(x_665);
lean_dec_ref(x_664);
if (x_666 == 0)
{
lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; 
x_667 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_668 = l_Lake_mkRelPathString(x_662);
x_669 = lean_box(0);
x_670 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_670, 0, x_669);
lean_ctor_set(x_670, 1, x_668);
x_671 = l_Lake_Toml_RBDict_insert___redArg(x_667, x_657, x_670, x_658);
x_647 = x_671;
goto block_656;
}
else
{
lean_dec_ref(x_662);
x_647 = x_658;
goto block_656;
}
}
block_688:
{
lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; uint8_t x_682; 
x_675 = l_Lake_PackageConfig_binDir___proj(x_1, x_2);
x_676 = lean_ctor_get(x_675, 0);
lean_inc(x_676);
x_677 = lean_ctor_get(x_675, 3);
lean_inc(x_677);
lean_dec_ref(x_675);
lean_inc_ref(x_3);
x_678 = lean_apply_1(x_676, x_3);
lean_inc_ref(x_3);
x_679 = lean_apply_1(x_677, x_3);
lean_inc_ref(x_678);
x_680 = l_System_FilePath_normalize(x_678);
x_681 = l_System_FilePath_normalize(x_679);
x_682 = lean_string_dec_eq(x_680, x_681);
lean_dec_ref(x_681);
lean_dec_ref(x_680);
if (x_682 == 0)
{
lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; 
x_683 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_684 = l_Lake_mkRelPathString(x_678);
x_685 = lean_box(0);
x_686 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_686, 0, x_685);
lean_ctor_set(x_686, 1, x_684);
x_687 = l_Lake_Toml_RBDict_insert___redArg(x_683, x_673, x_686, x_674);
x_658 = x_687;
goto block_672;
}
else
{
lean_dec_ref(x_678);
x_658 = x_674;
goto block_672;
}
}
block_704:
{
lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; uint8_t x_698; 
x_691 = l_Lake_PackageConfig_nativeLibDir___proj(x_1, x_2);
x_692 = lean_ctor_get(x_691, 0);
lean_inc(x_692);
x_693 = lean_ctor_get(x_691, 3);
lean_inc(x_693);
lean_dec_ref(x_691);
lean_inc_ref(x_3);
x_694 = lean_apply_1(x_692, x_3);
lean_inc_ref(x_3);
x_695 = lean_apply_1(x_693, x_3);
lean_inc_ref(x_694);
x_696 = l_System_FilePath_normalize(x_694);
x_697 = l_System_FilePath_normalize(x_695);
x_698 = lean_string_dec_eq(x_696, x_697);
lean_dec_ref(x_697);
lean_dec_ref(x_696);
if (x_698 == 0)
{
lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; 
x_699 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_700 = l_Lake_mkRelPathString(x_694);
x_701 = lean_box(0);
x_702 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_702, 0, x_701);
lean_ctor_set(x_702, 1, x_700);
x_703 = l_Lake_Toml_RBDict_insert___redArg(x_699, x_689, x_702, x_690);
x_674 = x_703;
goto block_688;
}
else
{
lean_dec_ref(x_694);
x_674 = x_690;
goto block_688;
}
}
block_720:
{
lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; uint8_t x_714; 
x_707 = l_Lake_PackageConfig_leanLibDir___proj(x_1, x_2);
x_708 = lean_ctor_get(x_707, 0);
lean_inc(x_708);
x_709 = lean_ctor_get(x_707, 3);
lean_inc(x_709);
lean_dec_ref(x_707);
lean_inc_ref(x_3);
x_710 = lean_apply_1(x_708, x_3);
lean_inc_ref(x_3);
x_711 = lean_apply_1(x_709, x_3);
lean_inc_ref(x_710);
x_712 = l_System_FilePath_normalize(x_710);
x_713 = l_System_FilePath_normalize(x_711);
x_714 = lean_string_dec_eq(x_712, x_713);
lean_dec_ref(x_713);
lean_dec_ref(x_712);
if (x_714 == 0)
{
lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; 
x_715 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_716 = l_Lake_mkRelPathString(x_710);
x_717 = lean_box(0);
x_718 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_718, 0, x_717);
lean_ctor_set(x_718, 1, x_716);
x_719 = l_Lake_Toml_RBDict_insert___redArg(x_715, x_705, x_718, x_706);
x_690 = x_719;
goto block_704;
}
else
{
lean_dec_ref(x_710);
x_690 = x_706;
goto block_704;
}
}
block_736:
{
lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; uint8_t x_730; 
x_723 = l_Lake_PackageConfig_buildDir___proj(x_1, x_2);
x_724 = lean_ctor_get(x_723, 0);
lean_inc(x_724);
x_725 = lean_ctor_get(x_723, 3);
lean_inc(x_725);
lean_dec_ref(x_723);
lean_inc_ref(x_3);
x_726 = lean_apply_1(x_724, x_3);
lean_inc_ref(x_3);
x_727 = lean_apply_1(x_725, x_3);
lean_inc_ref(x_726);
x_728 = l_System_FilePath_normalize(x_726);
x_729 = l_System_FilePath_normalize(x_727);
x_730 = lean_string_dec_eq(x_728, x_729);
lean_dec_ref(x_729);
lean_dec_ref(x_728);
if (x_730 == 0)
{
lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; 
x_731 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_732 = l_Lake_mkRelPathString(x_726);
x_733 = lean_box(0);
x_734 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_734, 0, x_733);
lean_ctor_set(x_734, 1, x_732);
x_735 = l_Lake_Toml_RBDict_insert___redArg(x_731, x_721, x_734, x_722);
x_706 = x_735;
goto block_720;
}
else
{
lean_dec_ref(x_726);
x_706 = x_722;
goto block_720;
}
}
block_752:
{
lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; uint8_t x_746; 
x_739 = l_Lake_PackageConfig_srcDir___proj(x_1, x_2);
x_740 = lean_ctor_get(x_739, 0);
lean_inc(x_740);
x_741 = lean_ctor_get(x_739, 3);
lean_inc(x_741);
lean_dec_ref(x_739);
lean_inc_ref(x_3);
x_742 = lean_apply_1(x_740, x_3);
lean_inc_ref(x_3);
x_743 = lean_apply_1(x_741, x_3);
lean_inc_ref(x_742);
x_744 = l_System_FilePath_normalize(x_742);
x_745 = l_System_FilePath_normalize(x_743);
x_746 = lean_string_dec_eq(x_744, x_745);
lean_dec_ref(x_745);
lean_dec_ref(x_744);
if (x_746 == 0)
{
lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; 
x_747 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_748 = l_Lake_mkRelPathString(x_742);
x_749 = lean_box(0);
x_750 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_750, 0, x_749);
lean_ctor_set(x_750, 1, x_748);
x_751 = l_Lake_Toml_RBDict_insert___redArg(x_747, x_737, x_750, x_738);
x_722 = x_751;
goto block_736;
}
else
{
lean_dec_ref(x_742);
x_722 = x_738;
goto block_736;
}
}
block_763:
{
lean_object* x_756; lean_object* x_757; size_t x_758; size_t x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; 
x_756 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_757 = lean_box(0);
x_758 = lean_array_size(x_754);
x_759 = 0;
x_760 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_StrPatDescr_toToml_spec__0(x_758, x_759, x_754);
x_761 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_761, 0, x_757);
lean_ctor_set(x_761, 1, x_760);
x_762 = l_Lake_Toml_RBDict_insert___redArg(x_756, x_753, x_761, x_755);
x_738 = x_762;
goto block_752;
}
block_774:
{
lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; uint8_t x_772; 
x_765 = l_Lake_PackageConfig_moreGlobalServerArgs___proj(x_1, x_2);
x_766 = lean_ctor_get(x_765, 0);
lean_inc(x_766);
x_767 = lean_ctor_get(x_765, 3);
lean_inc(x_767);
lean_dec_ref(x_765);
lean_inc_ref(x_3);
x_768 = lean_apply_1(x_766, x_3);
lean_inc_ref(x_3);
x_769 = lean_apply_1(x_767, x_3);
x_770 = lean_array_get_size(x_768);
x_771 = lean_array_get_size(x_769);
x_772 = lean_nat_dec_eq(x_770, x_771);
lean_dec(x_771);
if (x_772 == 0)
{
lean_dec(x_770);
lean_dec_ref(x_769);
x_754 = x_768;
x_755 = x_764;
goto block_763;
}
else
{
uint8_t x_773; 
x_773 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml_spec__1___redArg(x_768, x_769, x_770);
lean_dec_ref(x_769);
if (x_773 == 0)
{
x_754 = x_768;
x_755 = x_764;
goto block_763;
}
else
{
lean_dec_ref(x_768);
x_738 = x_764;
goto block_752;
}
}
}
block_782:
{
lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; 
x_778 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_779 = lean_box(0);
x_780 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_780, 0, x_779);
lean_ctor_set_uint8(x_780, sizeof(void*)*1, x_776);
x_781 = l_Lake_Toml_RBDict_insert___redArg(x_778, x_775, x_780, x_777);
x_764 = x_781;
goto block_774;
}
block_794:
{
lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; uint8_t x_789; 
x_784 = l_Lake_PackageConfig_precompileModules___proj(x_1, x_2);
x_785 = lean_ctor_get(x_784, 0);
lean_inc(x_785);
x_786 = lean_ctor_get(x_784, 3);
lean_inc(x_786);
lean_dec_ref(x_784);
lean_inc_ref(x_3);
x_787 = lean_apply_1(x_785, x_3);
lean_inc_ref(x_3);
x_788 = lean_apply_1(x_786, x_3);
x_789 = lean_unbox(x_787);
if (x_789 == 0)
{
uint8_t x_790; 
x_790 = lean_unbox(x_788);
if (x_790 == 0)
{
x_764 = x_783;
goto block_774;
}
else
{
uint8_t x_791; 
x_791 = lean_unbox(x_787);
x_776 = x_791;
x_777 = x_783;
goto block_782;
}
}
else
{
uint8_t x_792; 
x_792 = lean_unbox(x_788);
if (x_792 == 0)
{
uint8_t x_793; 
x_793 = lean_unbox(x_787);
x_776 = x_793;
x_777 = x_783;
goto block_782;
}
else
{
x_764 = x_783;
goto block_774;
}
}
}
block_805:
{
lean_object* x_798; lean_object* x_799; size_t x_800; size_t x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; 
x_798 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_799 = lean_box(0);
x_800 = lean_array_size(x_797);
x_801 = 0;
x_802 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_800, x_801, x_797);
x_803 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_803, 0, x_799);
lean_ctor_set(x_803, 1, x_802);
x_804 = l_Lake_Toml_RBDict_insert___redArg(x_798, x_795, x_803, x_796);
x_783 = x_804;
goto block_794;
}
block_816:
{
lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; uint8_t x_814; 
x_807 = l_Lake_PackageConfig_extraDepTargets___proj(x_1, x_2);
x_808 = lean_ctor_get(x_807, 0);
lean_inc(x_808);
x_809 = lean_ctor_get(x_807, 3);
lean_inc(x_809);
lean_dec_ref(x_807);
lean_inc_ref(x_3);
x_810 = lean_apply_1(x_808, x_3);
lean_inc_ref(x_3);
x_811 = lean_apply_1(x_809, x_3);
x_812 = lean_array_get_size(x_810);
x_813 = lean_array_get_size(x_811);
x_814 = lean_nat_dec_eq(x_812, x_813);
lean_dec(x_813);
if (x_814 == 0)
{
lean_dec(x_812);
lean_dec_ref(x_811);
x_796 = x_806;
x_797 = x_810;
goto block_805;
}
else
{
uint8_t x_815; 
x_815 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__0___redArg(x_810, x_811, x_812);
lean_dec_ref(x_811);
if (x_815 == 0)
{
x_796 = x_806;
x_797 = x_810;
goto block_805;
}
else
{
lean_dec_ref(x_810);
x_783 = x_806;
goto block_794;
}
}
}
block_828:
{
lean_object* x_819; lean_object* x_820; lean_object* x_821; 
x_819 = l_Lake_PackageConfig_manifestFile___proj(x_1, x_2);
x_820 = lean_ctor_get(x_819, 0);
lean_inc(x_820);
lean_dec_ref(x_819);
lean_inc_ref(x_3);
x_821 = lean_apply_1(x_820, x_3);
if (lean_obj_tag(x_821) == 0)
{
x_806 = x_818;
goto block_816;
}
else
{
lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; 
x_822 = lean_ctor_get(x_821, 0);
lean_inc(x_822);
lean_dec_ref(x_821);
x_823 = l_Lake_mkRelPathString(x_822);
x_824 = lean_box(0);
x_825 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_825, 0, x_824);
lean_ctor_set(x_825, 1, x_823);
x_826 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_827 = l_Lake_Toml_RBDict_insert___redArg(x_826, x_817, x_825, x_818);
x_806 = x_827;
goto block_816;
}
}
block_841:
{
lean_object* x_838; uint8_t x_839; lean_object* x_840; 
x_838 = lean_alloc_ctor(3, 1, 1);
lean_ctor_set(x_838, 0, x_834);
x_839 = lean_unbox(x_837);
lean_ctor_set_uint8(x_838, sizeof(void*)*1, x_839);
x_840 = l_Lake_Toml_RBDict_insert___redArg(x_831, x_829, x_838, x_836);
x_818 = x_840;
goto block_828;
}
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1(x_1, x_2, x_3, x_4, x_5);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_7 = lean_box(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__0(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; lean_object* x_5; 
x_4 = l_Array_isEqvAux___at___00__private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml_spec__1___redArg(x_1, x_2, x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_5 = lean_box(x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(x_1, x_2, x_3, x_4);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_box(0);
x_5 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_6 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(x_1, x_2, x_3, x_5);
x_7 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_7, 0, x_4);
lean_ctor_set(x_7, 1, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_instToToml___lam__0___boxed), 3, 2);
lean_closure_set(x_3, 0, x_1);
lean_closure_set(x_3, 1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_4 = lean_ctor_get(x_3, 1);
lean_inc(x_4);
x_5 = lean_ctor_get(x_3, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_3, 3);
lean_inc(x_6);
lean_dec_ref(x_3);
x_7 = lean_name_eq(x_5, x_1);
lean_dec(x_5);
if (x_7 == 0)
{
lean_object* x_8; 
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_2);
x_8 = lean_box(0);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_apply_2(x_2, x_4, x_6);
x_10 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4;
x_3 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3;
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2;
x_5 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7;
x_6 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_6, 0, x_5);
lean_ctor_set(x_6, 1, x_4);
lean_ctor_set(x_6, 2, x_3);
lean_ctor_set(x_6, 3, x_2);
lean_ctor_set(x_6, 4, x_1);
return x_6;
}
}
static lean_object* _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6;
x_2 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8;
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0(x_1, x_2, x_3);
lean_dec(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = lean_ctor_get(x_1, 11);
lean_inc_ref(x_4);
lean_dec_ref(x_1);
x_5 = lean_alloc_closure((void*)(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___lam__0___boxed), 3, 2);
lean_closure_set(x_5, 0, x_2);
lean_closure_set(x_5, 1, x_3);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_get_size(x_4);
x_8 = l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9;
x_9 = l_Array_filterMapM___redArg(x_8, x_5, x_4, x_6, x_7);
lean_dec(x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_lt(x_3, x_2);
if (x_5 == 0)
{
lean_dec(x_1);
return x_4;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; 
x_6 = lean_array_uget(x_4, x_3);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_4, x_3, x_7);
lean_inc(x_1);
x_9 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_9, 0, x_1);
lean_ctor_set(x_9, 1, x_6);
x_10 = 1;
x_11 = lean_usize_add(x_3, x_10);
x_12 = lean_array_uset(x_8, x_3, x_9);
x_3 = x_11;
x_4 = x_12;
goto _start;
}
}
}
static lean_object* _init_l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_11; 
x_11 = lean_usize_dec_eq(x_3, x_4);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_array_uget(x_2, x_3);
x_13 = lean_ctor_get(x_12, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 2);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 3);
lean_inc(x_15);
lean_dec(x_12);
x_16 = lean_name_eq(x_14, x_1);
lean_dec(x_14);
if (x_16 == 0)
{
lean_dec(x_15);
lean_dec(x_13);
x_6 = x_5;
goto block_10;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml(x_13, x_15, x_17);
x_19 = lean_array_push(x_5, x_18);
x_6 = x_19;
goto block_10;
}
}
else
{
return x_5;
}
block_10:
{
size_t x_7; size_t x_8; 
x_7 = 1;
x_8 = lean_usize_add(x_3, x_7);
x_3 = x_8;
x_5 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0;
x_6 = lean_nat_dec_lt(x_3, x_4);
if (x_6 == 0)
{
return x_5;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_le(x_4, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
return x_5;
}
else
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_usize_of_nat(x_3);
x_10 = lean_usize_of_nat(x_4);
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0(x_1, x_2, x_9, x_10, x_5);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_11; 
x_11 = lean_usize_dec_eq(x_3, x_4);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_array_uget(x_2, x_3);
x_13 = lean_ctor_get(x_12, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 2);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 3);
lean_inc(x_15);
lean_dec(x_12);
x_16 = lean_name_eq(x_14, x_1);
lean_dec(x_14);
if (x_16 == 0)
{
lean_dec(x_15);
lean_dec(x_13);
x_6 = x_5;
goto block_10;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml(x_13, x_15, x_17);
x_19 = lean_array_push(x_5, x_18);
x_6 = x_19;
goto block_10;
}
}
else
{
return x_5;
}
block_10:
{
size_t x_7; size_t x_8; 
x_7 = 1;
x_8 = lean_usize_add(x_3, x_7);
x_3 = x_8;
x_5 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0;
x_6 = lean_nat_dec_lt(x_3, x_4);
if (x_6 == 0)
{
return x_5;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_le(x_4, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
return x_5;
}
else
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_usize_of_nat(x_3);
x_10 = lean_usize_of_nat(x_4);
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3(x_1, x_2, x_9, x_10, x_5);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_11; 
x_11 = lean_usize_dec_eq(x_3, x_4);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_array_uget(x_2, x_3);
x_13 = lean_ctor_get(x_12, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 2);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 3);
lean_inc(x_15);
lean_dec(x_12);
x_16 = lean_name_eq(x_14, x_1);
lean_dec(x_14);
if (x_16 == 0)
{
lean_dec(x_15);
lean_dec(x_13);
x_6 = x_5;
goto block_10;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml(x_13, x_15, x_17);
x_19 = lean_array_push(x_5, x_18);
x_6 = x_19;
goto block_10;
}
}
else
{
return x_5;
}
block_10:
{
size_t x_7; size_t x_8; 
x_7 = 1;
x_8 = lean_usize_add(x_3, x_7);
x_3 = x_8;
x_5 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0;
x_6 = lean_nat_dec_lt(x_3, x_4);
if (x_6 == 0)
{
return x_5;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_le(x_4, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
return x_5;
}
else
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_usize_of_nat(x_3);
x_10 = lean_usize_of_nat(x_4);
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5(x_1, x_2, x_9, x_10, x_5);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_11; 
x_11 = lean_usize_dec_eq(x_3, x_4);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_12 = lean_array_uget(x_2, x_3);
x_13 = lean_ctor_get(x_12, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_12, 2);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 3);
lean_inc(x_15);
lean_dec(x_12);
x_16 = lean_name_eq(x_14, x_1);
lean_dec(x_14);
if (x_16 == 0)
{
lean_dec(x_15);
lean_dec(x_13);
x_6 = x_5;
goto block_10;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_18 = l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml(x_13, x_15, x_17);
x_19 = lean_array_push(x_5, x_18);
x_6 = x_19;
goto block_10;
}
}
else
{
return x_5;
}
block_10:
{
size_t x_7; size_t x_8; 
x_7 = 1;
x_8 = lean_usize_add(x_3, x_7);
x_3 = x_8;
x_5 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; uint8_t x_6; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0;
x_6 = lean_nat_dec_lt(x_3, x_4);
if (x_6 == 0)
{
return x_5;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_get_size(x_2);
x_8 = lean_nat_dec_le(x_4, x_7);
lean_dec(x_7);
if (x_8 == 0)
{
return x_5;
}
else
{
size_t x_9; size_t x_10; lean_object* x_11; 
x_9 = lean_usize_of_nat(x_3);
x_10 = lean_usize_of_nat(x_4);
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7(x_1, x_2, x_9, x_10, x_5);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = lean_box(0);
x_9 = l_Lake_Toml_encodeLeanOptions___closed__0;
x_10 = l_Lake_Dependency_toToml(x_5, x_9);
x_11 = lean_alloc_ctor(6, 2, 0);
lean_ctor_set(x_11, 0, x_8);
lean_ctor_set(x_11, 1, x_10);
x_12 = 1;
x_13 = lean_usize_add(x_2, x_12);
x_14 = lean_array_uset(x_7, x_2, x_11);
x_2 = x_13;
x_3 = x_14;
goto _start;
}
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lean_lib", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Package_mkTomlConfig___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("require", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Package_mkTomlConfig___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("defaultTargets", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lake_Package_mkTomlConfig___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lake_Package_mkTomlConfig___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lake_Package_mkTomlConfig(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_3 = lean_ctor_get(x_1, 4);
lean_inc_ref(x_3);
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 10);
lean_inc_ref(x_6);
x_7 = lean_ctor_get(x_1, 11);
lean_inc_ref(x_7);
x_8 = lean_ctor_get(x_1, 13);
lean_inc_ref(x_8);
x_9 = lean_ctor_get(x_1, 18);
lean_inc_ref(x_9);
x_10 = lean_ctor_get(x_1, 19);
lean_inc_ref(x_10);
lean_dec_ref(x_1);
x_11 = !lean_is_exclusive(x_3);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_65; lean_object* x_66; lean_object* x_76; uint8_t x_77; 
x_12 = lean_ctor_get(x_3, 15);
lean_dec(x_12);
x_13 = lean_ctor_get(x_3, 13);
lean_dec(x_13);
lean_ctor_set(x_3, 15, x_10);
lean_ctor_set(x_3, 13, x_9);
x_14 = l_Lake_InputDir_keyword;
x_15 = lean_unsigned_to_nat(0u);
x_16 = lean_array_get_size(x_7);
x_17 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0(x_14, x_7, x_15, x_16);
x_28 = l_Lake_InputFile_keyword;
x_29 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3(x_28, x_7, x_15, x_16);
x_40 = l_Lake_LeanExe_keyword;
x_41 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5(x_40, x_7, x_15, x_16);
x_52 = l_Lake_LeanLib_keyword;
x_53 = l_Lake_Package_mkTomlConfig___closed__1;
x_54 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7(x_53, x_7, x_15, x_16);
lean_dec(x_16);
lean_dec_ref(x_7);
x_65 = l_Lake_Package_mkTomlConfig___closed__3;
x_76 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(x_4, x_5, x_3, x_2);
lean_dec(x_4);
x_77 = l_Array_isEmpty___redArg(x_8);
if (x_77 == 0)
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_78 = l_Lake_Package_mkTomlConfig___closed__5;
x_79 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_80 = lean_box(0);
x_81 = lean_array_size(x_8);
x_82 = 0;
x_83 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_81, x_82, x_8);
x_84 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_84, 0, x_80);
lean_ctor_set(x_84, 1, x_83);
x_85 = l_Lake_Toml_RBDict_insert___redArg(x_79, x_78, x_84, x_76);
x_66 = x_85;
goto block_75;
}
else
{
lean_dec_ref(x_8);
x_66 = x_76;
goto block_75;
}
block_27:
{
uint8_t x_19; 
x_19 = l_Array_isEmpty___redArg(x_17);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_20 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_21 = lean_box(0);
x_22 = lean_array_size(x_17);
x_23 = 0;
x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_21, x_22, x_23, x_17);
x_25 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_25, 0, x_21);
lean_ctor_set(x_25, 1, x_24);
x_26 = l_Lake_Toml_RBDict_insert___redArg(x_20, x_14, x_25, x_18);
return x_26;
}
else
{
lean_dec_ref(x_17);
return x_18;
}
}
block_39:
{
uint8_t x_31; 
x_31 = l_Array_isEmpty___redArg(x_29);
if (x_31 == 0)
{
lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_32 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_33 = lean_box(0);
x_34 = lean_array_size(x_29);
x_35 = 0;
x_36 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_33, x_34, x_35, x_29);
x_37 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_37, 0, x_33);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_Lake_Toml_RBDict_insert___redArg(x_32, x_28, x_37, x_30);
x_18 = x_38;
goto block_27;
}
else
{
lean_dec_ref(x_29);
x_18 = x_30;
goto block_27;
}
}
block_51:
{
uint8_t x_43; 
x_43 = l_Array_isEmpty___redArg(x_41);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_44 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_45 = lean_box(0);
x_46 = lean_array_size(x_41);
x_47 = 0;
x_48 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_45, x_46, x_47, x_41);
x_49 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_49, 0, x_45);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lake_Toml_RBDict_insert___redArg(x_44, x_40, x_49, x_42);
x_30 = x_50;
goto block_39;
}
else
{
lean_dec_ref(x_41);
x_30 = x_42;
goto block_39;
}
}
block_64:
{
uint8_t x_56; 
x_56 = l_Array_isEmpty___redArg(x_54);
if (x_56 == 0)
{
lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_57 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_58 = lean_box(0);
x_59 = lean_array_size(x_54);
x_60 = 0;
x_61 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_58, x_59, x_60, x_54);
x_62 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_62, 0, x_58);
lean_ctor_set(x_62, 1, x_61);
x_63 = l_Lake_Toml_RBDict_insert___redArg(x_57, x_52, x_62, x_55);
x_42 = x_63;
goto block_51;
}
else
{
lean_dec_ref(x_54);
x_42 = x_55;
goto block_51;
}
}
block_75:
{
uint8_t x_67; 
x_67 = l_Array_isEmpty___redArg(x_6);
if (x_67 == 0)
{
lean_object* x_68; lean_object* x_69; size_t x_70; size_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; 
x_68 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_69 = lean_box(0);
x_70 = lean_array_size(x_6);
x_71 = 0;
x_72 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9(x_70, x_71, x_6);
x_73 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_73, 0, x_69);
lean_ctor_set(x_73, 1, x_72);
x_74 = l_Lake_Toml_RBDict_insert___redArg(x_68, x_65, x_73, x_66);
x_55 = x_74;
goto block_64;
}
else
{
lean_dec_ref(x_6);
x_55 = x_66;
goto block_64;
}
}
}
else
{
lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; uint8_t x_114; uint8_t x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_169; lean_object* x_170; lean_object* x_180; uint8_t x_181; 
x_86 = lean_ctor_get(x_3, 0);
x_87 = lean_ctor_get(x_3, 1);
x_88 = lean_ctor_get_uint8(x_3, sizeof(void*)*26);
x_89 = lean_ctor_get(x_3, 2);
x_90 = lean_ctor_get(x_3, 3);
x_91 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 1);
x_92 = lean_ctor_get(x_3, 4);
x_93 = lean_ctor_get(x_3, 5);
x_94 = lean_ctor_get(x_3, 6);
x_95 = lean_ctor_get(x_3, 7);
x_96 = lean_ctor_get(x_3, 8);
x_97 = lean_ctor_get(x_3, 9);
x_98 = lean_ctor_get(x_3, 10);
x_99 = lean_ctor_get(x_3, 11);
x_100 = lean_ctor_get(x_3, 12);
x_101 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 2);
x_102 = lean_ctor_get(x_3, 14);
x_103 = lean_ctor_get(x_3, 16);
x_104 = lean_ctor_get(x_3, 17);
x_105 = lean_ctor_get(x_3, 18);
x_106 = lean_ctor_get(x_3, 19);
x_107 = lean_ctor_get(x_3, 20);
x_108 = lean_ctor_get(x_3, 21);
x_109 = lean_ctor_get(x_3, 22);
x_110 = lean_ctor_get(x_3, 23);
x_111 = lean_ctor_get(x_3, 24);
x_112 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 3);
x_113 = lean_ctor_get(x_3, 25);
x_114 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 4);
x_115 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 5);
x_116 = lean_ctor_get_uint8(x_3, sizeof(void*)*26 + 6);
lean_inc(x_113);
lean_inc(x_111);
lean_inc(x_110);
lean_inc(x_109);
lean_inc(x_108);
lean_inc(x_107);
lean_inc(x_106);
lean_inc(x_105);
lean_inc(x_104);
lean_inc(x_103);
lean_inc(x_102);
lean_inc(x_100);
lean_inc(x_99);
lean_inc(x_98);
lean_inc(x_97);
lean_inc(x_96);
lean_inc(x_95);
lean_inc(x_94);
lean_inc(x_93);
lean_inc(x_92);
lean_inc(x_90);
lean_inc(x_89);
lean_inc(x_87);
lean_inc(x_86);
lean_dec(x_3);
x_117 = lean_alloc_ctor(0, 26, 7);
lean_ctor_set(x_117, 0, x_86);
lean_ctor_set(x_117, 1, x_87);
lean_ctor_set(x_117, 2, x_89);
lean_ctor_set(x_117, 3, x_90);
lean_ctor_set(x_117, 4, x_92);
lean_ctor_set(x_117, 5, x_93);
lean_ctor_set(x_117, 6, x_94);
lean_ctor_set(x_117, 7, x_95);
lean_ctor_set(x_117, 8, x_96);
lean_ctor_set(x_117, 9, x_97);
lean_ctor_set(x_117, 10, x_98);
lean_ctor_set(x_117, 11, x_99);
lean_ctor_set(x_117, 12, x_100);
lean_ctor_set(x_117, 13, x_9);
lean_ctor_set(x_117, 14, x_102);
lean_ctor_set(x_117, 15, x_10);
lean_ctor_set(x_117, 16, x_103);
lean_ctor_set(x_117, 17, x_104);
lean_ctor_set(x_117, 18, x_105);
lean_ctor_set(x_117, 19, x_106);
lean_ctor_set(x_117, 20, x_107);
lean_ctor_set(x_117, 21, x_108);
lean_ctor_set(x_117, 22, x_109);
lean_ctor_set(x_117, 23, x_110);
lean_ctor_set(x_117, 24, x_111);
lean_ctor_set(x_117, 25, x_113);
lean_ctor_set_uint8(x_117, sizeof(void*)*26, x_88);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 1, x_91);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 2, x_101);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 3, x_112);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 4, x_114);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 5, x_115);
lean_ctor_set_uint8(x_117, sizeof(void*)*26 + 6, x_116);
x_118 = l_Lake_InputDir_keyword;
x_119 = lean_unsigned_to_nat(0u);
x_120 = lean_array_get_size(x_7);
x_121 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0(x_118, x_7, x_119, x_120);
x_132 = l_Lake_InputFile_keyword;
x_133 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3(x_132, x_7, x_119, x_120);
x_144 = l_Lake_LeanExe_keyword;
x_145 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5(x_144, x_7, x_119, x_120);
x_156 = l_Lake_LeanLib_keyword;
x_157 = l_Lake_Package_mkTomlConfig___closed__1;
x_158 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7(x_157, x_7, x_119, x_120);
lean_dec(x_120);
lean_dec_ref(x_7);
x_169 = l_Lake_Package_mkTomlConfig___closed__3;
x_180 = l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml(x_4, x_5, x_117, x_2);
lean_dec(x_4);
x_181 = l_Array_isEmpty___redArg(x_8);
if (x_181 == 0)
{
lean_object* x_182; lean_object* x_183; lean_object* x_184; size_t x_185; size_t x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 
x_182 = l_Lake_Package_mkTomlConfig___closed__5;
x_183 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_184 = lean_box(0);
x_185 = lean_array_size(x_8);
x_186 = 0;
x_187 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml_spec__1(x_185, x_186, x_8);
x_188 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_188, 0, x_184);
lean_ctor_set(x_188, 1, x_187);
x_189 = l_Lake_Toml_RBDict_insert___redArg(x_183, x_182, x_188, x_180);
x_170 = x_189;
goto block_179;
}
else
{
lean_dec_ref(x_8);
x_170 = x_180;
goto block_179;
}
block_131:
{
uint8_t x_123; 
x_123 = l_Array_isEmpty___redArg(x_121);
if (x_123 == 0)
{
lean_object* x_124; lean_object* x_125; size_t x_126; size_t x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; 
x_124 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_125 = lean_box(0);
x_126 = lean_array_size(x_121);
x_127 = 0;
x_128 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_125, x_126, x_127, x_121);
x_129 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_129, 0, x_125);
lean_ctor_set(x_129, 1, x_128);
x_130 = l_Lake_Toml_RBDict_insert___redArg(x_124, x_118, x_129, x_122);
return x_130;
}
else
{
lean_dec_ref(x_121);
return x_122;
}
}
block_143:
{
uint8_t x_135; 
x_135 = l_Array_isEmpty___redArg(x_133);
if (x_135 == 0)
{
lean_object* x_136; lean_object* x_137; size_t x_138; size_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; 
x_136 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_137 = lean_box(0);
x_138 = lean_array_size(x_133);
x_139 = 0;
x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_137, x_138, x_139, x_133);
x_141 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_141, 0, x_137);
lean_ctor_set(x_141, 1, x_140);
x_142 = l_Lake_Toml_RBDict_insert___redArg(x_136, x_132, x_141, x_134);
x_122 = x_142;
goto block_131;
}
else
{
lean_dec_ref(x_133);
x_122 = x_134;
goto block_131;
}
}
block_155:
{
uint8_t x_147; 
x_147 = l_Array_isEmpty___redArg(x_145);
if (x_147 == 0)
{
lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; 
x_148 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_149 = lean_box(0);
x_150 = lean_array_size(x_145);
x_151 = 0;
x_152 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_149, x_150, x_151, x_145);
x_153 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_153, 0, x_149);
lean_ctor_set(x_153, 1, x_152);
x_154 = l_Lake_Toml_RBDict_insert___redArg(x_148, x_144, x_153, x_146);
x_134 = x_154;
goto block_143;
}
else
{
lean_dec_ref(x_145);
x_134 = x_146;
goto block_143;
}
}
block_168:
{
uint8_t x_160; 
x_160 = l_Array_isEmpty___redArg(x_158);
if (x_160 == 0)
{
lean_object* x_161; lean_object* x_162; size_t x_163; size_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; 
x_161 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_162 = lean_box(0);
x_163 = lean_array_size(x_158);
x_164 = 0;
x_165 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_162, x_163, x_164, x_158);
x_166 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_166, 0, x_162);
lean_ctor_set(x_166, 1, x_165);
x_167 = l_Lake_Toml_RBDict_insert___redArg(x_161, x_156, x_166, x_159);
x_146 = x_167;
goto block_155;
}
else
{
lean_dec_ref(x_158);
x_146 = x_159;
goto block_155;
}
}
block_179:
{
uint8_t x_171; 
x_171 = l_Array_isEmpty___redArg(x_6);
if (x_171 == 0)
{
lean_object* x_172; lean_object* x_173; size_t x_174; size_t x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; 
x_172 = l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0;
x_173 = lean_box(0);
x_174 = lean_array_size(x_6);
x_175 = 0;
x_176 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9(x_174, x_175, x_6);
x_177 = lean_alloc_ctor(5, 2, 0);
lean_ctor_set(x_177, 0, x_173);
lean_ctor_set(x_177, 1, x_176);
x_178 = l_Lake_Toml_RBDict_insert___redArg(x_172, x_169, x_177, x_170);
x_159 = x_178;
goto block_168;
}
else
{
lean_dec_ref(x_6);
x_159 = x_170;
goto block_168;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__2(x_1, x_5, x_6, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_Package_mkTomlConfig_spec__9(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0_spec__0(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__3_spec__3(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__5_spec__5(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
size_t x_6; size_t x_7; lean_object* x_8; 
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__7_spec__7(x_1, x_2, x_6, x_7, x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_8;
}
}
lean_object* initialize_Lake_Toml_Encode(uint8_t builtin);
lean_object* initialize_Lake_Config_Package(uint8_t builtin);
lean_object* initialize_Lake_Config_LeanLibConfig(uint8_t builtin);
lean_object* initialize_Lake_Config_LeanExeConfig(uint8_t builtin);
lean_object* initialize_Lake_Config_InputFileConfig(uint8_t builtin);
lean_object* initialize_Lake_Config_PackageConfig(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lake_CLI_Translate_Toml(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lake_Toml_Encode(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_Package(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_LeanLibConfig(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_LeanExeConfig(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_InputFileConfig(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lake_Config_PackageConfig(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instBEqFilePath__lake);
l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instInsertFieldOfEncodeFieldOfBEqOfConfigField___redArg___lam__0___closed__0);
l_Lake_instToTomlLeanVer = _init_l_Lake_instToTomlLeanVer();
lean_mark_persistent(l_Lake_instToTomlLeanVer);
l_Lake_instToTomlBuildType = _init_l_Lake_instToTomlBuildType();
lean_mark_persistent(l_Lake_instToTomlBuildType);
l_Lake_instToTomlGlob = _init_l_Lake_instToTomlGlob();
lean_mark_persistent(l_Lake_instToTomlGlob);
l_Lake_instToTomlBackend = _init_l_Lake_instToTomlBackend();
lean_mark_persistent(l_Lake_instToTomlBackend);
l_Lake_instSmartInsertBackend = _init_l_Lake_instSmartInsertBackend();
lean_mark_persistent(l_Lake_instSmartInsertBackend);
l_Lake_instToTomlLeanOptionValue___closed__0 = _init_l_Lake_instToTomlLeanOptionValue___closed__0();
lean_mark_persistent(l_Lake_instToTomlLeanOptionValue___closed__0);
l_Lake_instToTomlLeanOptionValue = _init_l_Lake_instToTomlLeanOptionValue();
lean_mark_persistent(l_Lake_instToTomlLeanOptionValue);
l_Lake_Toml_encodeLeanOptions___closed__0 = _init_l_Lake_Toml_encodeLeanOptions___closed__0();
lean_mark_persistent(l_Lake_Toml_encodeLeanOptions___closed__0);
l_Lake_instToTomlArrayLeanOption = _init_l_Lake_instToTomlArrayLeanOption();
lean_mark_persistent(l_Lake_instToTomlArrayLeanOption);
l_Lake_Pattern_toToml_x3f___redArg___closed__0 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__0();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__0);
l_Lake_Pattern_toToml_x3f___redArg___closed__1 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__1();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__1);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__0 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__0();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__0);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__1 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__1();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__1);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__2 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__2();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__2);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__3 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__3();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__3);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__4 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__4();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__4);
l_Lake_PatternDescr_toToml_x3f___redArg___closed__5 = _init_l_Lake_PatternDescr_toToml_x3f___redArg___closed__5();
lean_mark_persistent(l_Lake_PatternDescr_toToml_x3f___redArg___closed__5);
l_Lake_Pattern_toToml_x3f___redArg___closed__2 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__2();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__2);
l_Lake_Pattern_toToml_x3f___redArg___closed__3 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__3();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__3);
l_Lake_Pattern_toToml_x3f___redArg___closed__4 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__4();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__4);
l_Lake_Pattern_toToml_x3f___redArg___closed__5 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__5();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__5);
l_Lake_Pattern_toToml_x3f___redArg___closed__6 = _init_l_Lake_Pattern_toToml_x3f___redArg___closed__6();
lean_mark_persistent(l_Lake_Pattern_toToml_x3f___redArg___closed__6);
l_Lake_StrPatDescr_toToml___closed__0 = _init_l_Lake_StrPatDescr_toToml___closed__0();
lean_mark_persistent(l_Lake_StrPatDescr_toToml___closed__0);
l_Lake_StrPatDescr_toToml___closed__1 = _init_l_Lake_StrPatDescr_toToml___closed__1();
lean_mark_persistent(l_Lake_StrPatDescr_toToml___closed__1);
l_Lake_StrPatDescr_toToml___closed__2 = _init_l_Lake_StrPatDescr_toToml___closed__2();
lean_mark_persistent(l_Lake_StrPatDescr_toToml___closed__2);
l_Lake_StrPatDescr_toToml___closed__3 = _init_l_Lake_StrPatDescr_toToml___closed__3();
lean_mark_persistent(l_Lake_StrPatDescr_toToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlStrPatDescr);
l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0();
lean_mark_persistent(l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__0);
l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1();
lean_mark_persistent(l_Lake_Toml_encodeArray_x3f___at___00Lake_PatternDescr_toToml_x3f___at___00Lake_Pattern_toToml_x3f___at___00Lake_PathPatDescr_toToml_x3f_spec__0_spec__0_spec__0___redArg___closed__1);
l_Lake_PathPatDescr_toToml_x3f___closed__0 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__0();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__0);
l_Lake_PathPatDescr_toToml_x3f___closed__1 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__1();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__1);
l_Lake_PathPatDescr_toToml_x3f___closed__2 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__2();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__2);
l_Lake_PathPatDescr_toToml_x3f___closed__3 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__3();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__3);
l_Lake_PathPatDescr_toToml_x3f___closed__4 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__4();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__4);
l_Lake_PathPatDescr_toToml_x3f___closed__5 = _init_l_Lake_PathPatDescr_toToml_x3f___closed__5();
lean_mark_persistent(l_Lake_PathPatDescr_toToml_x3f___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToToml_x3fPathPatDescr);
l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instEncodeFieldLeanLibConfigMkStr1ArrayName___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlBuildKey);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlPartialBuildKey);
l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_instToTomlTarget___closed__0);
l_Lake_Dependency_toToml___closed__0 = _init_l_Lake_Dependency_toToml___closed__0();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__0);
l_Lake_Dependency_toToml___closed__1 = _init_l_Lake_Dependency_toToml___closed__1();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__1);
l_Lake_Dependency_toToml___closed__2 = _init_l_Lake_Dependency_toToml___closed__2();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__2);
l_Lake_Dependency_toToml___closed__3 = _init_l_Lake_Dependency_toToml___closed__3();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__3);
l_Lake_Dependency_toToml___closed__4 = _init_l_Lake_Dependency_toToml___closed__4();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__4);
l_Lake_Dependency_toToml___closed__5 = _init_l_Lake_Dependency_toToml___closed__5();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__5);
l_Lake_Dependency_toToml___closed__6 = _init_l_Lake_Dependency_toToml___closed__6();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__6);
l_Lake_Dependency_toToml___closed__7 = _init_l_Lake_Dependency_toToml___closed__7();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__7);
l_Lake_Dependency_toToml___closed__8 = _init_l_Lake_Dependency_toToml___closed__8();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__8);
l_Lake_Dependency_toToml___closed__9 = _init_l_Lake_Dependency_toToml___closed__9();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__9);
l_Lake_Dependency_toToml___closed__10 = _init_l_Lake_Dependency_toToml___closed__10();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__10);
l_Lake_Dependency_toToml___closed__11 = _init_l_Lake_Dependency_toToml___closed__11();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__11);
l_Lake_Dependency_toToml___closed__12 = _init_l_Lake_Dependency_toToml___closed__12();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__12);
l_Lake_Dependency_toToml___closed__13 = _init_l_Lake_Dependency_toToml___closed__13();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__13);
l_Lake_Dependency_toToml___closed__14 = _init_l_Lake_Dependency_toToml___closed__14();
lean_mark_persistent(l_Lake_Dependency_toToml___closed__14);
l_Lake_instToTomlDependency = _init_l_Lake_instToTomlDependency();
lean_mark_persistent(l_Lake_instToTomlDependency);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__0___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___lam__1___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__15);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__16);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__17);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__18);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__19);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__20);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__21);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__22);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__23);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__24);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__25);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__26);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__27);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__28);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__29);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__30);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__31);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__32);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__33);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__34);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__35);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__36);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__37);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__38);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__39);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__40);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__41);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__42);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__43);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__44);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__45);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__46);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__47);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__48);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__49);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__50);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__51);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__52);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__53);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__54);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__55);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__56);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__57);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__58);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__59);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__60);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__61);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__62);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__63);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__64);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__65);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__66);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__67);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__68);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__69);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__70);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__71);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__72);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__73);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__74);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__75);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__76);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__77);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__78);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__79);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__80);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__81);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__82);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__83);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__84);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__85);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__86);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__87);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__88);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__89);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__90);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__91);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__92);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__93);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__94);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__95);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__96);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__97);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__98);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__99);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__100);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__101);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__102);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__103);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__104);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__105);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__106);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__107);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__108);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__109);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__110);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__111);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__112);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__113);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__114);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__115);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__116);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__117);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__118);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__119);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__120);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__121);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__122);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__123);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__124);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__125);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__126);
l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_genToToml___closed__127);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_commandGen__toml__encoders_x25);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__15);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__16);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__17);
l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake___aux__Lake__CLI__Translate__Toml______macroRules____private__Lake__CLI__Translate__Toml__0__Lake__commandGen__toml__encoders_x25__1___closed__18);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__15);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__16);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__17);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__18);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__19);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__20);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__21);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__22);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__23);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__24);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__25);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__26);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__27);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__28);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__29);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__30);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__31);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__32);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__33);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__34);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__35);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__36);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__37);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__38);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__39);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__40);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__41);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__42);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__43);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_toToml___closed__44);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanConfig_instToToml);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__15);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__16);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__17);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__18);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanLibConfig_toToml___closed__19);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_LeanExeConfig_toToml___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_InputFileConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_InputDirConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_toToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_WorkspaceConfig_instToToml);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__9);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__10);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__11);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__12);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__13);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__14);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__15);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__16);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__17);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__18);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__19);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__20);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__21);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__22);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__23);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__24);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__25);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__26);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__27);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__28);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__29);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__30);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__31);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__32);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__33);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__34);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__35);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__36);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__37);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__38);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__39);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__40);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__41);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__42);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__43);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__44);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__45);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__46);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__47);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__48);
l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_PackageConfig_toToml___closed__49);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__0);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__1);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__2);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__3);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__4);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__5);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__6);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__7);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__8);
l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9 = _init_l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9();
lean_mark_persistent(l___private_Lake_CLI_Translate_Toml_0__Lake_Package_mkTomlTargets___closed__9);
l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0 = _init_l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0();
lean_mark_persistent(l_Array_filterMapM___at___00Lake_Package_mkTomlConfig_spec__0___closed__0);
l_Lake_Package_mkTomlConfig___closed__0 = _init_l_Lake_Package_mkTomlConfig___closed__0();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__0);
l_Lake_Package_mkTomlConfig___closed__1 = _init_l_Lake_Package_mkTomlConfig___closed__1();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__1);
l_Lake_Package_mkTomlConfig___closed__2 = _init_l_Lake_Package_mkTomlConfig___closed__2();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__2);
l_Lake_Package_mkTomlConfig___closed__3 = _init_l_Lake_Package_mkTomlConfig___closed__3();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__3);
l_Lake_Package_mkTomlConfig___closed__4 = _init_l_Lake_Package_mkTomlConfig___closed__4();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__4);
l_Lake_Package_mkTomlConfig___closed__5 = _init_l_Lake_Package_mkTomlConfig___closed__5();
lean_mark_persistent(l_Lake_Package_mkTomlConfig___closed__5);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
